Socket
Book a DemoInstallSign in
Socket

@aidc/account

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aidc/account

## 安装

0.1.5
latest
npmnpm
Version published
Weekly downloads
4
-80.95%
Maintainers
2
Weekly downloads
 
Created
Source

账户中心 Node SDK

安装

pnpm add @aidc/account

初始化

import { Account } from '@aidc/account';

const account = new Account({
  env: 'prod', // pre: 预发环境 prod: 生产环境
});

API 文档

检查邮箱是否注册

const isExist = await account.isEmailExist(email);

根据 Token 获取用户信息

const userInfo = await account.getUserBySessionToken(sessionToken);

FAQs

Package last updated on 11 Feb 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.