ianstormtaylor-email
v0.0.1
Published
Parse an email address into its components, based on component/url
Downloads
8,067
Readme
Parse an email address into its components, based on component/url.
Installation
$ component install ianstormtaylor/emailExample
var email = require('email');
email.parse('[email protected]');{
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
