Checks if a given pin code is secure.
Statistically, one third of all four digit codes can be guessed by trying just 61 distinct combinations. Don't believe us? PIN number analysis
$ npm install is-pin-good
const isPinGood = require('is-pin-good');
isPinGood('1234');
//=> false
isPinGood('8615');
//=> true
isPinGood('5555');
//=> false
Returns a boolean.
Type: string
The pin code to check.
MIT © Medipass Solutions