sinopia-npm

auth plugin for sinopia supporting an npm registry

Showing:

Popularity

Downloads/wk

2

GitHub Stars

3

Maintenance

Last Commit

15d ago

Contributors

4

Package

Dependencies

4

Size (min+gzip)

40.2KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100