Ask coding questions

← Back to all posts
Adding private NPM package from github
redlock

Hi, is there any way to add private NPM repos from github?

Voters
matteo-panelli
radakuceruSM
redlock
Comments
hotnewtop
radakuceruSM

@redlock Hi, i found one thing about it. If you use require("@yourcompany/your_private_package"), it will automatically install the package on start. So put your key in .npmrc and it should work.