Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

crypto-donation-postinstall

1.0.0 • Public • Published

Crypto Donation postinstall

Npm postinstall message to invite people to donate to you in cryptocurrencies

Installation

npm install --save crypto-donation-postinstall

And in your package.json add:

{
  ...
  "scripts": {
    "postinstall": "crypto-donation-postinstall"
  },
  "cryptoDonation": {
    "btc": "your btc address",
    "eth": "your eth address",
    ...
  }
  ...
}

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_CRYPTO_DONATION=true.

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

This project is based on opencollective-postinstall package.

Install

npm i crypto-donation-postinstall

DownloadsWeekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.86 kB

Total Files

4

Last publish

Collaborators

  • avatar