Skip to content

chrisbuttery/luhn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-luhn

NPM version build status Test coverage js-standard-style

A Luhn (mod 10) algorithm module for credit card number validation.

Install

$ npm install --save node-luhn

or:

$ component install chrisbuttery/luhn

Usage

var isLuhn = require('node-luhn')

isLuhn('4111111111111111')
//=> true

License

MIT © Chris Buttery

About

A Luhn (mod 10) algorithm component

Resources

License

Stars

Watchers

Forks

Packages

No packages published