cmc7-validador
v1.0.2
Published
Validador de CM7 em JavaScript.
Downloads
140
Readme
[email protected]
Validador de CM7 em JavaScript.
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install cmc7-validador --save
This package is provided in these module formats:
- UMD
TL;DR
const CMC7Validator = require('cmc7-validator');
new CMC7Validator('450445043466147665081657326823').isValid(); // returns true
new CMC7Validator('45044504 34661476650816 57326823').isValid(); // returns true
new CMC7Validator('Oi! Oi! Oi!').isValid(); // returns false
Dependencies
- checkdigit
Dev Dependencies
- buble: The blazing fast, batteries-included ES2015 compiler
- chai: BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
- eslint-config-airbnb-base: Airbnb's base JS ESLint config, following our styleguide
- eslint-plugin-import: Import with sanity.
- mocha: simple, flexible, fun test framework
- eslint
- rollup
- rollup-plugin-buble
- rollup-plugin-commonjs
- rollup-plugin-node-resolve