🚀 DAY 4 OF LAUNCH WEEK: Introducing GitHub Actions Scanning Support.Learn more
Socket
Book a DemoInstallSign in
Socket

@aidc/account-center-utils

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aidc/account-center-utils

## 安装依赖

latest
npmnpm
Version
0.0.1
Version published
Maintainers
4
Created
Source

账户中心 utils

安装依赖

pnpm add @aidc/account-utils

API 文档

生成随机 id

import {
  generateId,
  generateLongId,
  generateShortId,
} from '@aidc/account-server';

const random_id_20 = generateId(); // 长度为 20(默认)
const random_id_16 = generateId(16); // 长度为 16
const random_id_32 = generateLongId(); // 长度为 32
const random_id_6 = generateShortId(); // 长度为 6

FAQs

Package last updated on 19 Aug 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