1.0.0 • Published 7 years ago

is-itf14 v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Install

$ npm install --save is-itf14
# OR
$ yarn add is-itf14

Usage

Module exports a single function that takes a string as argument and returns bool.

const isItf14 = require('is-itf14')

console.log(isItf14('00123456789012')) // true

// Without checksum
console.log(isItf14('0012345678901')) // true

console.log(isItf14('foobarbaz')) // false

CLI

$ npm install --global is-itf14
# OR
$ yarn global add is-itf14

Then:

$ isItf14 00123456789012
# true

Contribute

Contributions are welcome. Please open up an issue or create PR if you would like to help out.

Note: If editing the README, please conform to the standard-readme specification.

License

Licensed under the MIT License.