Thursday 26 July 2018

ap-npm: private authenticated npm repository

Hello everyone,About 1,5 year ago I started programming and almost immediately was fortunate enough to get a position at a small software company. In my time there I worked on a private npm repository as at the time the only available solution was Verdaccio (which has improved a lot since), but Verdaccio did not offer functionality for using your own authentication provider. ap-npm is written in Typescript and provides interfaces for AuthProviders and StorageProviders. By default it uses a json database for authentication and the filesystem for storing packages. It is highly recommended you at least implement your own authentication provider.Development stalled last year due to personal reasons, but I am proud to announce that this package is (finally) ready to be used. It is supposed to be used with npm-scopes, but can also proxy install and audit requests if enabled in the config. It does not cache packages like Verdaccio does, but this could be added in the future (pull requests are welcome).This is my first time publishing anything open source so any feedback is welcome :)Repository: https://ift.tt/2AbSWvE MIT

Submitted July 26, 2018 at 11:38AM by meirbon

No comments:

Post a Comment