I'm developing a component library which I don't want to share in npmjs, is there any way to share my angular library with other angular projects with out sharing it with NPM.
The Angular Framework, Angular CLI, and components used by Angular applications are packaged as npm packages and distributed using the npm registry. You can download and install these npm packages by using the npm CLI client, which is installed with and runs as a Node. js® application.
Angular CLI is based on Node. JS and can be setup via npm, the Node package manager. As a front-end Angular developer, this is your first encounter with Node.
yes try verdaccio which stores ur packaged library in your local storage when u npm i libraryname first it searches for library in local storage and then searches for public npm https://verdaccio.org/docs/en/installation
The best way - to have your own npm registry and publish in it. It's often in medium or big companies.
Easier way - to publish your package library in git repository and add lobrary as package with git source. You can see how to do it in npm documentation. https://docs.npmjs.com/files/package.json#dependencies
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With