Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@userhub/sdk

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@userhub/sdk

UserHub JavaScript SDK

  • 0.6.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

UserHub JavaScript SDK

npm Latest Version JSR Latest Version

The official UserHub JavaScript SDK.

Stability: alpha

Requirements

  • Node 18 or later
  • Deno 1.28 or later
  • Bun 1 or later

Getting Started

Install SDK

npm install @userhub/sdk

Example

import { AdminApi } from "@userhub/sdk";

const adminApi = new AdminApi("sk_123");

const res = await adminApi.users.list({ pageSize: 5 });

for (const user of res.users) {
  console.log(user.id, user.displayName);
}

See the examples directory for more examples.

Keywords

FAQs

Package last updated on 11 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc