1.0.2 • Published 1 year ago

idgen36radix v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Project Name

Description

This project is aimed at generating random unique IDs using JavaScript. Id collision probability is 1/36^N where N is Your chosen idLength.

Installation

To use this project, follow these steps:

  1. npm install idgen36radix or yarn add idgen36radix
  2. import as common js

Usage

To generate a unique ID, simply call the randomId(idLength) function in your JavaScript code with idLength being character length of id.

const randomId = require("idgen36radix");
const id = randomId(5);
console.log(id);

License

This project is licensed under the MIT License.

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago