npm install regular --save
This module is simply a collection of regular expression. Use them as you would any other expression.
var regular = require'regular';email@example.com' // outputs true
credit cards(visa, mastercard, amex, discover)
US social security numbers