Skip to content

Pingity JavaScript package for both Node.js and browser applications

Notifications You must be signed in to change notification settings

postageapp/pingity-js

Repository files navigation

Pingity-js

Includes functions to validate an email address through the Pingity API, as well as through a basic regex validation.

const 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".

Notes

Recently updated with a small Mocha/Chai test suite.

About

Pingity JavaScript package for both Node.js and browser applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published