An example I’ve put together to demonstrate how Lerna can be used to maintain multiple npm packages with one repository.
Install Lerna on your machine.
npm instal -g lerna
Installs all dependencies and links any cross-dependencies.
lerna bootstrap
node packages/calc-module/index.js