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.
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-format-number
A React Component of formatted number input
React component to format numbers in an input or as a text.
npm install react-number-format
Typescript
Module System
Node Version
NPM Version
90.8
Supply Chain
90
Quality
80.3
Maintenance
100
Vulnerability
100
License
JavaScript (52.11%)
TypeScript (47.41%)
HTML (0.31%)
CSS (0.17%)
Total Downloads
188,408,736
Last Day
130,909
Last Week
1,204,783
Last Month
6,189,881
Last Year
65,354,156
3,917 Stars
578 Commits
416 Forks
19 Watching
48 Branches
70 Contributors
Latest Version
5.4.2
Package Id
react-number-format@5.4.2
Unpacked Size
234.13 kB
Size
55.96 kB
File Count
13
NPM Version
9.6.7
Node Version
20.3.1
Publised On
07 Sept 2024
Cumulative downloads
Total Downloads
Last day
-56.2%
130,909
Compared to previous day
Last week
-21.4%
1,204,783
Compared to previous week
Last month
4.6%
6,189,881
Compared to previous month
Last year
46.2%
65,354,156
Compared to previous year
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 4/14 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
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
49 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-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 More