1.0.0 • Published 6 years ago

verdaccio-github-token v1.0.0

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

verdaccio-github-token

Build Status npm node license downloads

Verdaccio authentication plugin via Github personal access tokens.

Install

npm i -g verdaccio verdaccio-github-token

Usage

Use your personal access token as password and github username as login.

Config

auth:
  github-token:
    org: my-loved-company
  • org: string, required

Peoples within this org will be able to auth.

  • ttl: number, default=60e3

Cache time in ms. See lru-cache#maxAge.

  • max: number, default=Infinity

See lru-cache#max.

  • httpTimeout: number, default=10e3

See got#timeout.

  • httpRetries: number, default=2

See got#retries.

License

MIT, 2018 (c) Dmitriy Tsvettsikh