is-pin-good
v1.0.0
Published
Checks if a given pin code is secure.
Downloads
588
Readme
is-pin-good
Checks if a given pin code is secure.
Install
$ npm install is-pin-good
Usage
const isPinGood = require('is-pin-good');
isPinGood('1234');
//=> false
isPinGood('8615');
//=> true
isPinGood('5555');
//=> false
API
isPinGood(input)
Returns a boolean.
input
Type: string
The pin code to check.
License
MIT © Medipass Solutions