1. opencollective-postinstall
Lightweight npm postinstall message to invite people to donate to your collective
opencollective-postinstall
Package: opencollective-postinstall
Created by: opencollective
Last modified: Wed, 22 Jun 2022 23:41:25 GMT
Version: 2.0.3
License: MIT
Downloads: 12,030,975
Repository: https://github.com/opencollective/opencollective-postinstall

Install

npm install opencollective-postinstall
yarn add opencollective-postinstall

Open Collective postinstall

Greenkeeper badge

Lightweight npm postinstall message to invite people to donate to your collective

Installation

npm install --save opencollective-postinstall

And in your package.json add:

 {
  ...
  "scripts": {
    "postinstall": "opencollective-postinstall"
  },
  "collective": {
    "url": "https://opencollective.com/webpack"
  }
  ...
}

Disabling this message

In some places (e.g. CI) you may want to disable this output. You can do this by setting the environment variable DISABLE_OPENCOLLECTIVE=true.

It will not be shown if npm's log level is set to silent (--silent), warn (--quiet), or error (--loglevel error).

Note: This is a lightweight alternative to the opencollective-cli that offers a more complete postinstall message with the current balance and ASCII logo of the collective.

Dependencies

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code