
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@loadsmart/utils-phone-number
Advanced tools
utils-phone-numberuseful functions for manipulating phone numbers
$ npm i @loadsmart/utils-phone-number --save
$ yarn add @loadsmart/utils-phone-number
import React from 'react'
import { format } from '@loadsmart/utils-phone-number'
const phone = '+12345678910'
const mask = '+X (XXX) XXX-XXXX'
export default () => (
<div>
formatted: {format(phone, mask)}, should render: (+1 (234) 567-8910)
</div>
)
FAQs
useful functions for manipulating phone numbers
The npm package @loadsmart/utils-phone-number receives a total of 188 weekly downloads. As such, @loadsmart/utils-phone-number popularity was classified as not popular.
We found that @loadsmart/utils-phone-number demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 20 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.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.

Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.