@eszmateusz/node-unique-id-generator

1.0.1 • Public • Published

Node Unique ID Generator

Description

It is simple node package with the module that generates a unique multi-character string number as a random id. It is provided set of letters and numbers. Set idLength parameter determines the number of characters in the multi-character string. The result is printed to the user in the console.

Prerequisities

To run this package in your environment you will only need Node.js and npm or yarn installed.

Instalation

Use one of these two commands: npm install @eszmateusz/node-unique-id-generator or yarn add @eszmateusz/node-unique-id-generator

Usage

const randomID = require('@eszmateusz/node-unique-id-generator');

console.log(randomID(10)); // desired multi-character string length, e.g. - 10

/@eszmateusz/node-unique-id-generator/

    Package Sidebar

    Install

    npm i @eszmateusz/node-unique-id-generator

    Weekly Downloads

    7

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    1.49 kB

    Total Files

    3

    Last publish

    Collaborators

    • eszmateusz