Search results

4 packages found

A simple and fast unique id generator for node.js. It generates unique id based on twitter's snowflake algorithm.

published 1.0.0 4 months ago
M
Q
P

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) ```

published 1.0.2 2 years ago
M
Q
P

A JSON database with a bunch of tools and typescript support.

published 1.0.0-alpha.10-PRE3 10 months ago
M
Q
P

generates unique 64-bit snowflake IDs inspired by Twitter and Discord IDs

published 1.0.2 a year ago
M
Q
P