One of the things that i feel makes Node(and NPM) so great is the ease in which you can add and use third-party modules. As most node.js developers know, to start using an external module, you first install it:
npm install cool-module --save
Then we require it:
const coolModule = require('cool-module');
Then we use it:
Yup, pretty easy.
However, as most node.js developers know, our dependency list in our
pacakge.json can grow pretty quickly. And sometimes we lose track of where in our code we are using these dependencies. Sometimes, dare I say it, we have modules in our
package.json that we don’t actually use. GASP!!!
Ok, so if you’ve made it this far, then you probably realize this next paragraph is going to talk about how Szero fits into what i wrote above. Productivity, package installation, and dependency management/location.
Continue reading “Checking node.js dependencies with SZero – Never lose track again.”
Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development. The developer program and software are both free!