1.0.1 • Published 4 years ago
adrian-pingenerator v1.0.1
Typescript - modularised application to generate a library of exported 1000 PIN in a random order having two condition:
1-Each PIN code in the batch unique
2-Each PIN is 4 digits long, having no incremental digits nor same consecutive digits
Copyright (c) 2020 Adrian Badierad
Quick Summary of executing the code
Run command: $ npm install typescript --save
$ node ./src/index.js
local test (should be run in test repo having different file name as movio-pingenerator)
The created library is named as "movio-pingenerator" and is globally published and available on npm
Run command: npm install --save movio-pingenerator
require the package in a test.js file and run:
i.e. const testMovioLib = require('movio-pingenerator');
- Hit 'Enter'