2.0.1 • Published 4 years ago

@adico/sequencegenerator v2.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Time Sortable Distributed Unique Id Generator based on Twitter Snowflake

Usage

Complete API Documentation.

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: