Testing npm package locally

Solution

In project folder (eg: test-package):

npm link

In project using the test-package:

npm link test-package

In test-package

npm unlink

Reference

Using npm link to use node modules that are "in progress"

Simple Way to Manage Local Node Modules Using NPM Link

results matching ""

    No results matching ""