Recomended fetch polyfill - dependency: "whatwg-fetch": "^1.0.0"
Install to new project locally like:
npm install --save ./modules/npm-module-skeleton
From git like:
npm install git@bitbucket.org:nexitsk/npm-module-skeleton.git#1.0
Possible to add as submodule from git:
https://git-scm.com/book/en/v2/Git-Tools-Submodules
Push to npm repository, satis ?
https://docs.npmjs.com/misc/developers
https://medium.com/@arnaudrinquin/build-modular-application-with-npm-local-modules-dfc5ff047bcc
Example Module: https://github.com/reactjs/redux/blob/master/package.json