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
JavaScript (100%)
Total
384,731,906
Last Day
129,970
Last Week
3,468,168
Last Month
14,952,423
Last Year
149,491,356
27 Stars
67 Commits
14 Forks
3 Watching
11 Branches
10 Contributors
Minified
Minified + Gzipped
Latest Version
0.3.2
Package Id
@nuxtjs/opencollective@0.3.2
Unpacked Size
NaN GB
Size
7.25 kB
File Count
0
NPM Version
6.14.8
Node Version
14.15.0
Publised On
04 Nov 2020
Cumulative downloads
Total Downloads
Last day
-19.8%
129,970
Compared to previous day
Last week
-1.3%
3,468,168
Compared to previous week
Last month
4.5%
14,952,423
Compared to previous month
Last year
35.2%
149,491,356
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 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
no effort to earn an OpenSSF best practices badge detected
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
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-12-02
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