sinopia-npm

1.1.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i sinopia-npm

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • goodeggs-admin