Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including verigy with all npm packages installed. Try it out:

var verigy = require("verigy")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

verigy v2.0.1

Strip invalid characters from email addresses

verigy

simple package to strip out unwanted characters for gmail addresses

Usage

CLI

$ npm install -g verigy
$ verigy evan.lucas@gmail.com
=> evan.lucas@gmail.com => evanlucas@gmail.com

Package

$ npm install --save verigy

Example

var verigy = require('verigy')
verigy('evan.lucas@gmail.com')
// => 'evanlucas@gmail.com'

verigy('evanlucas+blah@gmail.com')
// => 'evanlucas@gmail.com'

Test

$ npm test

Author

Evan Lucas

License

Licensed under the MIT license. For more info, see LICENSE

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free