Submit PR via https://docs.npmjs.com/cli/link
- You want B to depend on A but
- A is not on npm (or it is - but you don't feel like publishing after each fix)
- While standing in A
npm linkmakes a global package of A. Verify bynpm ls -g --depth=0. - A can then be used by B by doing
npm link Awhile inside B. Verify bynpm ls --depth=0.