cmc7-validator

1.0.5 • Public • Published

cmc7-validator

A deadly simple library to validate CMC7.

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install cmc7-validator --save

This package is provided in these module formats:

  • UMD

TL;DR

import CMC7Validator from 'cmc7-validator';
new CMC7Validator('450445043466147665081657326823').isValid(); // returns true
new CMC7Validator('45044504 34661476650816 57326823').isValid(); // returns true
new CMC7Validator('Oi! Oi! Oi!').isValid(); // returns false

License

GPLv3

Readme

Keywords

none

Package Sidebar

Install

npm i cmc7-validator

Weekly Downloads

6

Version

1.0.5

License

GPLv3

Unpacked Size

39.2 kB

Total Files

4

Last publish

Collaborators

  • lfvaamorim