Skip to content

gabts/sequential-id

Repository files navigation

Sequential ID

A stupidly simple sequential ID generator.

Installation

npm i sequential-id

Example

const sequentialId = require("sequential-id");
sequentialId(); // 00001
sequentialId(); // 00002
sequentialId(); // 00003
// ...
sequentialId(); // 9999999 and so on...

Configuration

nah

License

MIT