@justinaz90/random-id-generator

1.1.0 • Public • Published

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

/@justinaz90/random-id-generator/

    Package Sidebar

    Install

    npm i @justinaz90/random-id-generator

    Weekly Downloads

    2

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    1.06 kB

    Total Files

    3

    Last publish

    Collaborators

    • justinaz90