1.1.0 • Published 3 years ago

@justinaz90/random-id-generator v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

General info

Package for generating random IDs in any length. It can include uppercase letters, lowercase letters and numbers.

Installation

$ yarn add @justinaz90/random-id-generator

or

$ npm install @justinaz90/random-id-generator

Usage

Create js file and import the package:

const randomID = require('@justinaz90/random-id-generator');

Define the length of generated ID through the method attribute

Example

randomID(10);
console.log(randomID(10)); // isfh7UK98h