Search results

3 packages found

A random unique id generator

published version 1.1.3, 4 years ago0 dependents licensed under $MIT
39

graphql-global-id-directive is a package that includes a GlobalIdDirective class, which offers two directives: globalIdEncodeDirective and globalIdDecodeDirective. These directives handle the encoding and decoding of global IDs, making it a breeze to inte

published version 0.0.7, 9 months ago0 dependents licensed under $MIT
35

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 version 1.0.2, 3 years ago0 dependents licensed under $ISC
25