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.
*/
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.