Gathering detailed insights and metrics for @nuxtjs/opencollective
Gathering detailed insights and metrics for @nuxtjs/opencollective
Gathering detailed insights and metrics for @nuxtjs/opencollective
Gathering detailed insights and metrics for @nuxtjs/opencollective
🤝 Pretty opencollective stats on postinstall!
npm install @nuxtjs/opencollective
Typescript
Module System
Min. Node Version
Node Version
NPM Version
83.4
Supply Chain
97.9
Quality
82
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
393,933,527
Last Day
251,860
Last Week
1,617,218
Last Month
12,514,476
Last Year
152,406,508
27 Stars
86 Commits
14 Forks
3 Watching
7 Branches
10 Contributors
Minified
Minified + Gzipped
Latest Version
0.3.2
Package Id
@nuxtjs/opencollective@0.3.2
Size
7.25 kB
NPM Version
6.14.8
Node Version
14.15.0
Publised On
04 Nov 2020
Cumulative downloads
Total Downloads
Last day
-22.6%
251,860
Compared to previous day
Last week
-40.7%
1,617,218
Compared to previous week
Last month
-13.2%
12,514,476
Compared to previous month
Last year
35.9%
152,406,508
Compared to previous year
Displaying opencollective statistics and a donation URL after users install a package is important for many creators. After problems with current packages that offer similar features, we decided to spin off our one own. Our key goals are:
@nuxt/opencollective
dependency using yarn or npm to your projectpostinstall
in your package.json1{ 2 // ... 3 "scripts": { 4 "postinstall": "opencollective || exit 0" 5 }, 6 "collective": { 7 "url": "https://opencollective.com/nuxtjs" 8 } 9 // ... 10}
Configuration is applied through your project's package.json
.
A full configuration looks like:
1{ 2 "collective": { 3 "url": "https://opencollective.com/nuxtjs", 4 "logoUrl": "https://opencollective.com/nuxtjs/logo.txt?reverse=true&variant=variant2", 5 "donation": { 6 "slug": "/order/591", 7 "amount": "50", 8 "text": "Please donate:" 9 } 10 } 11}
Attribute | Optional | Default | Comment |
---|---|---|---|
url | ❌ | - | The URL to your opencollective page |
logo | ✅ | - | LEGACY: The URL to the logo that should be displayed. Please use logoUrl instead. |
logoUrl | ✅ | - | The URL to the ASCII-logo that should be displayed. |
donation.slug | ✅ | '/donate' | The slug that should be appended to url . Can be used to setup a specific order. |
donation.amount | ✅ | - | The default amount that should be selected on the opencollective page. |
donation.text | ✅ | 'Donate:' | The text that will be displayed before your donation url. |
We know the postinstall messages can be annoying when deploying in production or running a CI pipeline. That's why the message is disabled in those environments by default.
Enabled when one the following environment variables is set:
NODE_ENV=dev
NODE_ENV=development
OPENCOLLECTIVE_FORCE
Strictly Disabled when one the following environment variables is set:
OC_POSTINSTALL_TEST
OPENCOLLECTIVE_HIDE
CI
CONTINUOUS_INTEGRATION
NODE_ENV
(set and not dev
or development
)DISABLE_OPENCOLLECTIVE
(set to any string value that is not 'false'
or '0'
,
for compatability with
opencollective-postinatall)yarn install
or npm install
path/to/project/root/src/index.js path/to/package/you/want/to/try
npm t
or yarn test
This project is heavily inspired by opencollective-cli.
MIT License MIT. Made with ????
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
19 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
4 existing vulnerabilities detected
Details
Reason
Found 1/14 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
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-01-06
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