0.0.1 • Published 10 years ago
ianstormtaylor-email v0.0.1
Parse an email address into its components, based on component/url.
Installation
$ component install ianstormtaylor/emailExample
var email = require('email');
email.parse('johnny+nospam@example.com');{
local: 'johnny+nospam',
name: 'johnny',
filter: 'nospam',
domain: 'example.com'
}API
email.parse(string)
Parse the given email string.
email.hasFilter(string)
Check if the given email string has a + filter.
License
MIT
0.0.1
10 years ago