Gathering detailed insights and metrics for plur
Gathering detailed insights and metrics for plur
Gathering detailed insights and metrics for plur
Gathering detailed insights and metrics for plur
npm install plur
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99.6
Supply Chain
84.3
Quality
75.7
Maintenance
100
Vulnerability
100
License
JavaScript (92.45%)
TypeScript (7.55%)
Total Downloads
496,830,529
Last Day
115,896
Last Week
1,861,079
Last Month
8,075,678
Last Year
79,726,278
MIT License
249 Stars
47 Commits
21 Forks
6 Watchers
1 Branches
13 Contributors
Updated on Feb 19, 2025
Minified
Minified + Gzipped
Latest Version
5.1.0
Package Id
plur@5.1.0
Unpacked Size
4.96 kB
Size
2.13 kB
File Count
5
NPM Version
8.1.0
Node Version
12.22.1
Cumulative downloads
Total Downloads
Last Day
-22.4%
115,896
Compared to previous day
Last Week
-10.1%
1,861,079
Compared to previous week
Last Month
3.8%
8,075,678
Compared to previous month
Last Year
7.8%
79,726,278
Compared to previous year
1
Pluralize a word
1npm install plur
1import plur from 'plur'; 2 3plur('rainbow'); 4//=> 'rainbows' 5 6plur('unicorn', 4); 7//=> 'unicorns' 8 9plur('puppy', 2); 10//=> 'puppies' 11 12plur('box', 2); 13//=> 'boxes' 14 15plur('cactus', 2); 16//=> 'cacti'
Type: string
The word to pluralize.
Type: string
Default:
Explicitly provide the pluralized word.
The plural suffix will match the case of the last letter in the word.
This option is only for extreme edge-cases. You probably won't need it.
Type: number
The count to determine whether to use singular or plural. If omitted, defaults to plural.
No vulnerabilities found.
Reason
security policy file detected
Details
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 11/30 approved changesets -- score normalized to 3
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-23
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