privus

0.0.1 • Public • Published

Privus

A private npm registry for GitHub repositories.

Deploy to Heroku

Getting started

You need to set required environment variables before starting the server:

$ SECRET=my-secret-key
$ GITHUB_TOKEN=github-access-token
$ node index.js

Environment variables

Name Default value Required
SECRET
GITHUB_TOKEN
PORT 3000
REGISTRY https://registry.npmjs.org
SCOPE
REPOSITORIES

SECRET

Secret token needed to access registry:

http://registry.example.com/my-secret-key

GITHUB_TOKEN

GitHub API access token. For more information see:

https://help.github.com/articles/creating-an-access-token-for-command-line-use/

SCOPE

If set, only packages with given scope will be accepted.

REPOSITORIES

If set, only given repositories will be processed. By default all repositories are processed.

Package Sidebar

Install

npm i privus

Weekly Downloads

0

Version

0.0.1

License

ISC

Last publish

Collaborators

  • eymen