an opinionated list of essential Node.js global packages
In this post, I present a list of Node.js tools that I generally depend on, and always ensure that they are installed globally on my development machine. So, without further ado, here we go ...
Web development 🌐
@vue/cli– Standard Tooling for Vue.js Development
vue initcommand addon for
@vue/cli. This is an alias to the old
browser-sync– Keep multiple browsers & devices in sync when building websites.
caniuse-cmd– a caniuse.com command line tool
concurrently– Run multiple commands concurrently. I typically use this to simultaneously run the Django dev server, gulp and maildev.
clean-css-cli– a command-line interface to clean-css - fast and efficient CSS optimizer for Node.js.
express-generator– Express application generator tool,
firebase-tools– Firebase CLI Tools for testing, managing, and deploying your Firebase project from the command line
gulp-cli– A toolkit to automate & enhance your workflow.
local-cors-proxy– Simple proxy to bypass CORS issues. This was built as a local dev only solution to enable prototyping against existing APIs without having to worry about CORS.
maildev– SMTP Server + Web Interface for viewing and testing emails during development.
nodemon– a tool that helps develop Node.js based applications by automatically restarting the node application when file changes in the directory are detected.
parcel-bundler– Blazing fast, zero configuration web application bundler
pm2– a production process manager for Node.js applications with a built-in load balancer. It allows you to keep applications alive forever, to reload them without downtime and to facilitate common system admin tasks.
prettier– an opinionated code formatter
sass– CSS with superpowers
serve– Static file serving and directory listing
Mobile app development 📱
@ionic/cli– command-line interface for developing Ionic apps.
@quasar/cli– I've placed Quasar under the mobile app development category because that's what I've used it for. However, it is a multi-purpose tool. In fact, Quasar’s motto is: “write code once and simultaneously deploy it as a website, a Mobile App and/or an Electron App”.
@quasar/icongenie– outputs a set of SQUARE favicons, webicons, pwa-icons and electron-icons as well as iOS, Windows Store and MacOS icons from an original 1240x1240 square icon that retains transparency and also minifies the assets. It will also create splash screens for Cordova/Capacitor and even a minified svg.
Git repository management 💻
commitizen– Simple commit conventions for internet citizens
conventional-changelog-cli– Generate a changelog from git metadata
dependabot-config-generator– CLI tool for Dependabot config generate
standard-version– A utility for versioning using semver and CHANGELOG generation powered by Conventional Commits.
Screen recording / terminal capture 📹
asciicast2gif– a tool for generating GIF animations from asciicast files recorded by asciinema.
gifify– Convert any video file to an optimized animated GIF. This tool is no longer maintained, so I've switched to
gifski, a Rust-based GIF encoder based on
svg-term-cli– Share terminal sessions as razor-sharp animated SVG everywhere.
terminalizer– Record your terminal and generate animated gif images or share a web player.
Document processing / conversion 🗎
doctoc– Generates table of contents for markdown files inside local git repository.
puppeteer-pdf– HTML to PDF from the command line with Puppeteer
CV / Resume generation 📃
fluentcv– a dev-friendly, local-only Swiss Army knife for resumes and CVs. It is the corporate-friendly fork of HackMyResume.
hackmyresume– Create polished résumés and CVs in multiple formats from your command line or shell. Author in clean Markdown and JSON, export to Word, HTML, PDF, LaTeX, plain text, and other arbitrary formats
Image compression 🖻
imagemin-cli– Minify images seamlessly
imagemin-advpng– AdvPNG plugin for imagemin
imagemin-jpegtran– jpegtran plugin for imagemin
imagemin-mozjpeg– Imagemin plugin for mozjpeg
imagemin-optipng– optipng plugin for imagemin
imagemin-pngcrush– pngcrush plugin for imagemin
imagemin-pngquant– Imagemin plugin for
mozjpeg– a production-quality JPEG encoder that improves compression while maintaining compatibility with the vast majority of deployed decoders
svgo– Node.js tool for optimizing SVG files. I often also use a similar Python tool called Scour. I'd run both tools on one file and get the smaller resulting file!
Well, there you have it! What Node.js tools do you regularly use that aren't on this list? Do you have alternatives to some of the tools I've listed? Well, let me know in the comments below 🙂.