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