Package Exports
- node-luhn
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-luhn) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
node-luhn
A Luhn (mod 10) algorithm module for credit card number validation.
Install
$ npm install --save node-luhnor:
$ component install chrisbuttery/luhnUsage
var isLuhn = require('node-luhn')
isLuhn('4111111111111111')
//=> trueLicense
MIT © Chris Buttery