checkdigit

Module to calculate and validate check digits for redundancy checking, using f.ex. mod10 (luhn algorithm) or mod11.

node-luhn

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