Should I use npm install local/path/x/ or npm link x for testing & building local npm deps?

npm pack

npm pack. The pack command creates a . tgz file exactly the way it would if you were going to publish the package to npm. It pulls the name and version from package

Reading: https://stackoverflow.com/questions/50674052/difference-between-npm-link-x-and-npm-install-path-to-x https://medium.com/@oresoftware/node-js-how-to-test-your-new-npm-module-without-publishing-it-every-5-minutes-3b6f8e0491dd