1.1.0 • Published 9 years ago

sinopia-npm v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

sinopia-npm

auth plugin for sinopia supporting an npm registry

build status npm version MIT license we're hiring

Usage

npm install sinopia
npm install sinopia-npm

Configuration

Add to your sinopia config.yaml:

auth:
  npm: true

You can pass more options using an object:

auth:
  npm:
    registry: 'https://registry.npmjs.org'
    timeout: 1000
    registryConfig:
      userAgent: 'super/cool'
    cacheConfig:
      max: 1000
      maxAge: 900000 # 15 minutes

A full list of registryConfig options can be found in the npm-registry-client README. A full list of cacheConfig options can be found in the lru-cache README.

Contributing

Please follow our Code of Conduct when contributing to this project.

$ git clone https://github.com/goodeggs/sinopia-npm && cd sinopia-npm
$ npm install
$ npm test

Module scaffold generated by generator-goodeggs-npm.