1.0.7 • Published 5 months ago

cmc7-validator v1.0.7

Weekly downloads
-
License
GPLv3
Repository
github
Last release
5 months ago

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

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago