A small library providing an EmailAddress type. Based on the Haskell library email-validate.
$ npm install
$ ./node_modules/.bin/bower install purescript-email-validate
$ pulp build
$ pulp test
> import Text.Email.Validate (EmailAddress(), toString, emailAddress)
> :t emailAddress
String -> Either String EmailAddress
> emailAddress "test@email.com"
Right test@email.com
> emailAddress "bad@email@address"
Left "bad email address"
> :t toString
EmailAddress -> String
> toString $ emailAddress "test@email.com"
test@email.com