Skip to content

Open-source javascript id generating program managed by suppersource members

License

Notifications You must be signed in to change notification settings

SupperSource/idgp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

idgp - Identification Key Generating Program.

Installation

To install, in the command line, just enter npm i idgen --save

Description

This is a program made in javascript which is open source. It generates ids and identification keys to be used in many cases.

Example


const idgen = require('idgen');

console.log(idgen(4));

The output would be a random string with 4 characters.

like ryw3.

Syntax

idgen(4);
/* ^  ^--------------| 
  function        length of the random generated string.
*/

In HTML

$ npm init -y

# initialize npm in the directory

$ npm i idgp

# To install idgp

Then in html provide the following script tags

<script src="./node_modules/idgp/idgen.js"></script>

Open source

we are awaiting for your pull requests. If you face any issue, run npm test, which will give to the test report, or report issue on github.

Enjoy your powerfull library.

Releases

No releases published

Packages

No packages published