unique-id-generator-ts
Version:
A high-performance unique ID generator based on Snowflake architecture. Supports up to 4096 unique IDs per millisecond per machine.
36 lines (35 loc) • 779 B
JSON
{
"name": "unique-id-generator-ts",
"version": "1.0.3",
"description": "A high-performance unique ID generator based on Snowflake architecture. Supports up to 4096 unique IDs per millisecond per machine.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "node test/index.ts",
"prepublishOnly": "npm run build"
},
"keywords": [
"unique-id",
"snowflake",
"id-generator",
"distributed-id",
"timestamp-id",
"typescript"
],
"author": "Nitesh Gupta",
"license": "MIT",
"files": [
"dist",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@types/node": "^24.0.8",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
}
}