JSPM

is-pin-good

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 80
  • Score
    100M100P100Q70163F
  • License MIT

Checks if a given pin code is secure.

Package Exports

  • is-pin-good

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-pin-good) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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