https://github.com/alepop/crypto-donation-postinstall
💰 npm postinstall message to invite people to donate to you in cryptocurrencies
https://github.com/alepop/crypto-donation-postinstall
cryptocurrency donation funding npm postinstall
Last synced: 3 months ago
JSON representation
💰 npm postinstall message to invite people to donate to you in cryptocurrencies
- Host: GitHub
- URL: https://github.com/alepop/crypto-donation-postinstall
- Owner: alepop
- License: mit
- Created: 2019-06-21T10:22:21.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-21T10:39:40.000Z (about 7 years ago)
- Last Synced: 2025-10-30T11:47:15.850Z (8 months ago)
- Topics: cryptocurrency, donation, funding, npm, postinstall
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```json
{
...
"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](https://github.com/opencollective/opencollective-postinstall) package.