Socket
Socket
Sign inDemoInstall

opencollective-postinstall

Package Overview
Dependencies
0
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    opencollective-postinstall

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


Version published
Weekly downloads
2.9M
increased by1.9%
Maintainers
2
Install size
4.60 kB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 29 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc