Gathering detailed insights and metrics for react-number-format
Gathering detailed insights and metrics for react-number-format
Gathering detailed insights and metrics for react-number-format
Gathering detailed insights and metrics for react-number-format
@react-input/number-format
React input component for formatted number input with locale-specific.
@number-flow/react
A component to transition and format numbers.
react-currency-format
React component to format currency in an input or as a text.
react-phone-input-2
A react component to format phone numbers
React component to format numbers in an input or as a text.
npm install react-number-format
Typescript
Module System
Node Version
NPM Version
94.1
Supply Chain
89.7
Quality
79.4
Maintenance
100
Vulnerability
100
License
JavaScript (52.09%)
TypeScript (47.43%)
HTML (0.31%)
CSS (0.17%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
4,009 Stars
586 Commits
419 Forks
20 Watchers
48 Branches
72 Contributors
Updated on Jun 27, 2025
Minified
Minified + Gzipped
Latest Version
5.4.4
Package Id
react-number-format@5.4.4
Unpacked Size
234.22 kB
Size
55.96 kB
File Count
13
NPM Version
9.6.7
Node Version
20.3.1
Published on
Apr 12, 2025
Cumulative downloads
Total Downloads
54
React Number Format is an input-formatter library with a sophisticated and light weight caret engine. It ensures that a user can only enter text that meets specific numeric or string patterns, and formats the input value for display.
See the many DEMO sections in the documentation.
Using npm
npm install react-number-format
Using yarn
yarn add react-number-format
Read the full documentation here https://s-yadav.github.io/react-number-format/docs/intro
Numeric Format
1import { NumericFormat } from 'react-number-format';
NumericFormat Props: https://s-yadav.github.io/react-number-format/docs/numeric_format
Pattern Format
1import { PatternFormat } from 'react-number-format';
PatternFormat Props: https://s-yadav.github.io/react-number-format/docs/pattern_format
https://s-yadav.github.io/react-number-format/docs/migration
npm i -g yarn
to download Yarnyarn
to install dependenciesyarn start
to run example server (http://localhost:8084/)yarn test
to test changesyarn build
to bundle filesTest cases are written in jasmine and run by karma
Test files : /test/**/*.spec.js
To run test : yarn test
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
Found 7/19 approved changesets -- score normalized to 3
Reason
2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
67 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreLast Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year