The building blocks to create a node module
Run the following:
bash <(curl -s https://raw.githubusercontent.com/logikaljay/scaffold-node-module/master/init.sh)
Or clone this repo and modify it (running scripts from the interwebs is often not the best thing to do)
git clone https://github.com/logikaljay/scaffold-node-module.git
mv scaffold-node-module my-module-name
cd my-module-name
rm -rf .git
git init
...