is-pin-good

Checks if a given pin code is secure.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
is-pin-good
1001.0.06 years ago6 years agoMinified + gzip package size for is-pin-good in KB

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