npm(1/0)

Publish npm package to local repository

I wanted to share a set of authentication web components from chaos-auth so I could use them in my website’s static build. Keeping these components close to the authentication server lets me keep the responsibilities close, since these components will be heavily tied to my authentication implementation. Step 1: Publish Locally To publish a package you’ll simply need a name and version value in your package.json file. Here’s a paired-down example:…