Gathering detailed insights and metrics for @nuxt/opencollective
Gathering detailed insights and metrics for @nuxt/opencollective
Gathering detailed insights and metrics for @nuxt/opencollective
Gathering detailed insights and metrics for @nuxt/opencollective
npm install @nuxt/opencollective
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
27 Stars
67 Commits
14 Forks
3 Watching
11 Branches
10 Contributors
Updated on 13 Nov 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-6.6%
71,666
Compared to previous day
Last week
2.9%
412,225
Compared to previous week
Last month
9%
1,786,756
Compared to previous month
Last year
-23.2%
23,369,501
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:
@nuxtjs/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 compatibility with
opencollective-postinstall)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 dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/24 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
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
Reason
15 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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