Faster & Cleaner Module Workflow
I’ve noticed when writing lots of small modules that the process of creating new modules and repositories can be a little tedious and error-prone. Automating the process makes things more efficient, produces consistent and clean repositories, and also forces me into the mindset of documenting and testing early on.
Here are some suggestions, tools and scripts that have improved my workflow. I’m going to presume OSX throughout this article, since I don’t use Windows.
example readme for a small module
The best way to improve efficiency when working with npm modules is to get more familiar with terminal commands. You might already know
ls, but here’s a few other goodies:
tabkey will auto-complete a path to the next folder; double-tap to list all paths that match the input
up/downarrow keys to repeat previous commands
Ctrl + Aand
Ctrl + Eto jump to the
Continue reading →