Home
NOTE: I'm in the middle of upgrading the site. Most things are in place, but some things are missing and/or broken. This includes alt text for images. Please bear with me while I get things fixed.

Create A New Node Project With npm init

New node projects can be started by running this in the directory you want to make the project in.

npm init

That will walk you through a set of questions and setup the package.json file.

The initialization asks for a license, I don't see how to tell it "None" so I just put in the default and then move it to None in the package.json file after it's created.

Install Jest with :

npm install --save-dev jest

Here's how to get started with jest :

https : //jestjs.io/docs/getting - started

~ fin ~