
Research
/Security News
Chrome and Firefox Extensions Posing as Free VPNs Add Clipboard Stealers via Malicious Updates
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.
number_info
Advanced tools
This library is used to resolve a dialed phone number, returning country information along with area codes, phone type, etc. It uses the NodeJS port of the Google's libphonenumber.
Add this library to your package.json configuration:
"dependencies": {
"number_info": "latest"
}
var number_info = require('number_info');
var result = number_info.resolve(dialedString, numberingPlan);
numberingPlan is optional. When not supplied, it will be assumed that
dialedString is an E164 number without the leading +.
If supplied, it must be a 2-letter ISO country code that will be used to translate this number from a local dialed number into an E164 number. In essence, the country specifices the numbering plan used to interpret the dialed number.
For example, from the US you will dial 011+number to reach an international destination, while other countries will have different ways for dialing local, long distance, and international destinations (e.g: 00+number).
Below you will find a few examples for the most common usage. More examples can be found in the tests.
var result = number_info.resolve('18009997777');
var result = number_info.resolve('005491145556666');
This project uses standard npm scripts. Current tasks include:
To run a task, just do:
npm run build
To contribute:
npm run build and make sure everything is ok before submitting the pull
request (make eslint happy).The source code is released under Apache 2 License.
Check LICENSE file for more information.
FAQs
Useful tools to translate telephone numbers to and from E164
We found that number_info demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.