1.0.5 • Published 4 years ago

generate-pin v1.0.5

Weekly downloads
14
License
ISC
Repository
github
Last release
4 years ago

Generate Pin

Each PIN is unique from the other

Each PIN is random

Each PIN uses only digits 0-9

A PIN doesn't contain 3 or more consecutive ascending or descending digits

A PIN doesn't have 2 same consecutive digits

require('generate-pin').generatePin();
// output: ["0245"]

require('generate-pin').generatePin(3);
// output: ["0245", "6298", "4910"]
1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago