sixtytwoflake
v1.0.1
Published
Snowflakes stored in a b62 format
Readme
sixtytwoflake
Generate base62 Snowflake IDs.
Install
npm install sixtytwoflake
Usage
import { Sixtytwoflake } from "sixtytwoflake";
const flake = new Sixtytwoflake({
mid: 1,
offset: new Date("2025-01-01").getTime()
});
const id = flake.generate();
console.log(id); // base62 string