cmc7-validator
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • 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.7

License

GPLv3

Unpacked Size

39.5 kB

Total Files

5

Last publish

Collaborators

  • lfvaamorim