From the course: Node.js: Web Servers, Tests, and Deployment

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Using minimist

Using minimist

- [Instructor] Now that we have our project set up, we're ready to start coding. I'm over here at the npm JS registry. And I'm going to search for a package that helps us use argv. So this package here called minimist is going to help us parse some arguments that are passed via the console. So let's go ahead and install this. We're going to open up the correct folder. We're going to make sure that we're navigated to the start folder where we have the package.json and we're going to npm install minimist, M-I-N-I-M-I-S-T. This is going to install this in our project inside of this folder called node_modules. Now something that's interesting to know is that this package.json is going to manage all of these dependencies for us. So if I was to delete this, for example, I could delete the node_modules folder. I could run an npm install. Npm install or npm i if you're running short on time is going to install all of the…

Contents