An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

node-snowflake-id

nodejs的分布式id解决方案 参考Twitter的snowflake ```js const SnowflakeID = require("SnowflakeID") const sid = new SnowflakeID() let arr = [] for(let i = 0; i < 10000; i++){ arr.push(sid.generate()) } console.log(arr) ```

Ecosystem
npmjs.org
Latest Release
1.0.2
over 4 years ago
Versions
3
Downloads
33 last month
Dependent Packages
1
Links
Registry npmjs.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:npm/node-snowflake-id
spec
License ISC
First Release over 4 years ago
Last Synced about 1 month ago
Repository
Stars 3 on GitHub
Forks 0 on GitHub