reklatsmasters / verdaccio-github-token

Verdaccio authentication plugin via Github personal access tokens.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. Note: You should make your membership in the organization public, see github api.

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

About

Verdaccio authentication plugin via Github personal access tokens.

License:MIT License


Languages

Language:JavaScript 100.0%