
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
phone-regex
Advanced tools
A regular expression for matching phone numbers.
npm i --save phone-regex
var phone = require('phone-regex');
// Exact string option
phone({ exact: true }).test('1234567890') // => true
phone({ exact: true }).test('apple 1234567890') // => false
// Global option (default)
phone().test('1234567890') // => true
phone().test('apple 1234567890') // => true
phone().test('apple') // => false
" 1234567890 ", with the exact option.MIT
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)Crafted with <3 by John Otander.
FAQs
Regular expression for phone numbers.
The npm package phone-regex receives a total of 4,382 weekly downloads. As such, phone-regex popularity was classified as popular.
We found that phone-regex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.