npm 21 🌐 Local Testing with npm link and npm pack
Testing a package locally before publishing it is not a single workflow. npm link and npm pack solve different problems, and the choice between them determines whether the test reflects the published artifact or a symlinked approximation of it. Key point: npm link creates a symlink, which means the consumer project sees your working directory…