1.0.0 • Published 7 years ago
is-pin-good v1.0.0
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
1.0.0
7 years ago