@adico/sequencegenerator
v2.0.1
Published
Time Sortable Distributed Unique Id Generator based on Twitter Snowflake
Downloads
28
Maintainers
Readme
Time Sortable Distributed Unique Id Generator based on Twitter Snowflake
Usage
API
Install locally npm install --save @adico/sequencegenerator
, then use like so:
import SequenceGenerator from '@adico/sequencegenerator'
// Generate Unique Id based on NodeId as hashed MAC address
console.log(new SequenceGenerator(254).nextId())
Advanced
npm
Discover the release history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Unless stated otherwise all works are:
and licensed under: