is-pin-good

1.0.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i is-pin-good

    Weekly Downloads

    92

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • jmoxey