verdaccio-regman

An amazing verdaccio auth plugin

Usage no npm install needed!

<script type="module">
  import verdaccioRegman from 'https://cdn.skypack.dev/verdaccio-regman';
</script>

README

verdaccio-regman

Verdaccio authentication plugin for Registry Manager.

Installation

npm install verdaccio-regman

Configuration

auth:
  regman:
    db_file: /path/to/registry-manager-users.json # must be readable
    gelf:
      enabled: false # if true then sends events to Graylog
      hostname: false # defaults to os.hostname()
      facility: "verdaccio"
      options:
        graylogPort: 12201
        graylogHostname: "127.0.0.1"
        connection: "lan"

Usage

regman plugin uses Registry Manager user database for authentication. Adding users from command line is not allowed.

Package access uses Verdaccio configuration.

Publishing is only allowed to users with admin or publish tags. Verdaccion configuration is ignored.

License

ISC