@milosz7/id-generator
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Random id generator

Usage:

const randomId = require('@milosz7/id-generator')

const id = randomId(5);
// 2@AxY

The randomId function can take arguments in range from 5 to 10. Passing a number outside that range will result in defaulting the input to the min/max value.

Package Sidebar

Install

npm i @milosz7/id-generator

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

2.81 kB

Total Files

4

Last publish

Collaborators

  • milosz7