Gathering detailed insights and metrics for vue-pluralize
Gathering detailed insights and metrics for vue-pluralize
Gathering detailed insights and metrics for vue-pluralize
Gathering detailed insights and metrics for vue-pluralize
npm install vue-pluralize
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
6 Stars
11 Commits
17 Watching
18 Branches
450 Contributors
Updated on 05 Sept 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
13.6%
468
Compared to previous day
Last week
13.5%
2,193
Compared to previous week
Last month
7.4%
8,866
Compared to previous month
Last year
-30.6%
118,576
Compared to previous year
Handy Pluralize filters for your Vue project.
Install via NPM...
1$ npm install vue-pluralize 2// or 3$ yarn add vue-pluralize
Import and use like so:
1import VuePluralize from 'vue-pluralize' 2 3Vue.use(VuePluralize)
Simply set pluralize
as the filtering function and you're good to go. At least one argument is expected, which is the number of items.
1<span>{{ 'user' | pluralize(10) }}</span> 2<!-- renders --> 3<span>users</span>
vue-pluralize
attaches the Pluralize instance to your Vue app as this.$pluralize
.
This allows you to call Pluralize from the script portion of your Vue component.
1const usersCountLabel = this.$pluralize('user', 10); 2// usersCountLabel contains "users"
You can add new rules by adding them to the root Pluralize instance.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 1/6 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
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
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
76 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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