const generator = new Snowflake(1); const id = generator.generateId();
npm i @cuculus/snowflake
Gitgithub.com/cuculus-dev/snowflake
github.com/cuculus-dev/snowflake#readme
39
0.2.0
ISC
27.6 kB
7
2 years ago