Skip to content

reklatsmasters/verdaccio-github-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published