@bsneddon/npm-auth-ws

Global npm user auth WS

Usage no npm install needed!

<script type="module">
  import bsneddonNpmAuthWs from 'https://cdn.skypack.dev/@bsneddon/npm-auth-ws';
</script>

README

NPM Authentication/Authorization Web-Service

Travis

Authorization and authentication for your npm Enterprise appliance. Currently supports:

  • fake: a fake login method used for testing.
  • GitHub Enterprise: GitHub enterprise appliances.
  • GitHub.com: The GitHub.com website.

Running

npm start

Configuring

See the enterprise-configurator project. and ndm.

Tests

Tests are written using Lab, simply run:

npm test

alternatively,

node ./test/foo.js