verdaccio-github-token

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i verdaccio-github-token

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

5.24 kB

Total Files

6

Last publish

Collaborators

  • reklatsmasters