npm outdated
npm update --save package1 package2
npm update --save-dev package1 package2
npm install --save package-name@latest
npm audit
npm audit fix
git checkout -b "development" master
git add --all
git commit -m "Fixed bug #1"
git push --set-upstream origin development
While still on development branch
git merge master
git checkout master
If you want to keep track of who did the merge and when, you can use --no-ff flag while merging
git merge --no-ff development
git push
- single line progress animation
- https://stackoverflow.com/questions/34848505/how-to-make-a-loading-animation-in-console-application-written-in-javascript-or
- https://github.com/visionmedia/node-progress
- https://github.com/nathanpeck/clui
- https://github.com/helloIAmPau/node-spinner
- https://github.com/sindresorhus/ora
- https://github.com/SamVerschueren/listr
- if run with no parameters, list files in current dir and allow to choose one
color outputhttps://github.com/chalk/chalk
http://www.yaoyuyang.com/2017/01/20/nodejs-batch-file-processing.html https://css-tricks.com/why-using-reduce-to-sequentially-resolve-promises-works/