1
0
mirror of synced 2026-10-31 04:13:55 +08:00
Files
SnowFlake-IdGenerator/Node.js/README.md
2021-06-28 17:14:48 +08:00

21 lines
319 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ❄ idgenerator-Node.js
## 介绍
项目更多介绍参照:https://github.com/yitter/idgenerator
代码贡献者:bubao 布宝
## 使用
```js
const GenId = require("./index.js")
const genid = new GenId({ WorkerId: 1 });
for (let index = 0; index < 5000; index++) {
console.log(genid.NextId());
}
```