An NodeJS distributed customizable ID generator inspired by Twitter's Snowflake
This module exports only one class - Sunbeam
value
may be any supported format or undefinedunit
by default is 1000msepoch
by default is 01/01/2000 00:00:00:000
Methods to export Sunbeam
Self-explainatory method
See Snowflake/Sonyflake/etc docs
Create new Sunbeam with pre-filled params
Create Sunbeam IDs generator