1.1.1 • Published 5 years ago

author-credit-postinstall v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

author-credit-postinstall

Lightweight npm postinstall message to credit the author of a program

Installation

npm install --save author-credit-postinstall

And in your package.json add:

{
  ...
  "scripts": {
    "postinstall": "author-credit-postinstall"
  },
  "credit": {
    "author": {
      "name":"Andrew Fisher",
      "url": "https://example.url/",
      },
    "company":{
      "name": "for EXAMPLE COMPANY",
      "url": "https://example.url/",
    },
    "customMessage": "CUSTOM MESSAGE EXAMPLE",
  }
  ...
}

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

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

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago