What does NPM link do?
‘npm link’ in a nutshell The npm documentation defines npm link as a ‘means to symlink a package folder’. Put simply, it’s a means to connect your parent application to a module you have locally on your machine. When you run the application, any changes you make to the dependency will be reflected in the…
‘npm link’ in a nutshell The npm documentation defines npm link as a ‘means to symlink a package folder’. Put simply, it’s a means to connect your parent application to a module you have locally on your machine. When you run the application, any changes you make to the dependency will be reflected in the application.Click to see full answer. Also know, how do I link NPM modules? Loading a local module Create (or download) an npm module to your computer: cd ~/Desktop. Run npm link inside the module’s root folder: cd ~/Desktop/node-randomstring. In a different directory, run npm link