# opencollective-postinstall

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

Latest version **2.0.3** (published 2020-05-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install opencollective-postinstall
pnpm add opencollective-postinstall
yarn add opencollective-postinstall
bun add opencollective-postinstall
```

Provides the command `opencollective-postinstall`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.3 |
| Published | 2020-05-29 |
| First published | 2017-02-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51 |
| Author | Xavier Damman |
| Maintainers | asood123, xdamman |
| Keywords | opencollective, donation, funding, sustain |

## Links

- npm: https://www.npmjs.com/package/opencollective-postinstall
- Repository: https://github.com/opencollective/opencollective-postinstall
- Homepage: https://github.com/opencollective/opencollective-postinstall#readme
- Issues: https://github.com/opencollective/opencollective-postinstall/issues
- npm.io page: https://npm.io/package/opencollective-postinstall

## Recent versions

- 2.0.3 (latest) — 2020-05-29
- 2.0.2 — 2019-02-05
- 2.0.1 — 2018-10-20
- 2.0.0 — 2018-04-02
- 1.1.1 — 2017-04-21
- 1.1.0 — 2017-04-21
- 1.0.18 — 2017-04-20
- 1.0.17 — 2017-04-20
- 1.0.16 — 2017-04-20
- 1.0.15 — 2017-04-01
- 1.0.14 — 2017-03-27
- 1.0.13 — 2017-03-27
- 1.0.12 — 2017-03-21
- 1.0.11 — 2017-03-16
- 1.0.10 — 2017-03-16
- … 10 more at https://npm.io/package/opencollective-postinstall/versions

## README

# Open Collective postinstall

[![Greenkeeper badge](https://badges.greenkeeper.io/opencollective/opencollective-postinstall.svg)](https://greenkeeper.io/)

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

## Installation

```
npm install --save opencollective-postinstall
```

And in your `package.json` add:

```json
{
  ...
  "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](https://github.com/opencollective/opencollective-cli) that offers a more complete postinstall message with the current balance and ASCII logo of the collective.

---
_Source: https://npm.io/package/opencollective-postinstall · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
