pingity
v1.1.4
Published
A package for easily including the Pingity API on a webpage.
Downloads
3
Readme
Pingity-js
Includes functions to validate an email address through the Pingity API, as well as through a basic regex validation.
var Pingity = require('pingity');
To make an Ajax call to the Pingity API:
Pingity.validate("[email protected]")
This will return pass, fail or warning messages based on the test results from Pingity.
To bypass Pingity and run basic regex verification:
Pingity.basic("[email protected]")
This will return either "Format Valid" or "Invalid email address".
Recently updated with a small Mocha/Chai test suite.