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 1,000,000+ packages pre-installed, including phone-number-validation with all npm packages installed. Try it out:

var API = require('phone-number-validation'); var api = new API({ access_key: 'access_key' }); var number = '14158586273'; var validateQuery = { number: number }; api.validate(validateQuery, function (err, result) { if (err) { return console.log('Validate Callback (Error): ' + JSON.stringify(err)); } console.log('Validate Callback (Success): '+ JSON.stringify(result)); });

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

phone-number-validation v0.3.1

Global Phone Number Validation & Lookup JSON API. Real-time REST API supporting 232 countries

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