Setting up the development environment

This is going to be our largest application to date, so let's make sure we can work comfortably.

Let's start by creating a project folder – let's call our project Keyword Wrangler:

$ mkdir keyword-wrangler

Next, we initialize a Node.js project in this folder by running npm init and answering the upcoming questions as follows:

$ npm init

This utility will walk you through creating a package.json file. It only covers the most common items, and tries to guess sane defaults:

See `npm help json` for definitive documentation on these fields and exactly what they do. Use `npm install <pkg> --save` afterwards to install a package and save it as a dependency in the package.json file. Press ^C at any time ...

Get The Node Craftsman Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.