Node.js Learning Path: Unit 7 – npm

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer

Unit 7 shows you all about npm, the package manager for Node.

Here’s what you’ll learn in Unit 7:

  • The npm registry and how package scores are used to help you select the module you want
  • The npm command line interface (CLI) tool
  • The npm website, which contains lots of great documentation

Unit 7 also has a quiz!

Want to take the entire course? Then click here to start at the beginning, with Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Advertisement

Publications (Full List)

Below is a list of all my publications, starting with books, then publications by year (newest first).

Books

Publications By Year

2019

2018

2017

2016

Before 2016

Node.js Learning Path: Unit 6 – Your First Node Program

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

Unit 6 simulates a real project, where you are brought in to finish an application called The Shopping List, that was only partially completed by another developer.

Here’s what you’ll learn in Unit 6:

  • The application’s business requirements in the form of user stories
  • How to run the application’s functional tests, so you know when your code works (and when it doesn’t) – in other words, Behavior-Driven Development (BDD)
  • The application’s data model
  • How to load the application’s data – from the Open Grocery Database Project – into a SQLite database
  • How to write, configure, and run REST services using Node
  • How to use the VSCode debugger to interactively debug your code

Unit 6 also has a quiz (are you seeing a theme here?), and a video to help you get your computer setup to run the functional tests:

Ready to dive into your first Node application? Then click here to jump right to Unit 6.

Want to take the entire course? Then click here to start at the beginning, with Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Node.js Learning Path: Unit 5 – The Event Loop

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

The Event Loop is the key to Node’s scalability.

Unit 5 of the LP is about the Event Loop, and in it you’ll learn stuff like:

  • The phases of the Event Loop
  • How to write code that runs in the various phases (so you know when your code will run)
  • The Node Events API
  • Node Streams

There’s a quiz to help you deepen your understanding of the material, and a video too:

Ready to dive into the Node Event Loop? Then click here to jump right to Unit 5.

Want to take the entire course? Then click here to start at the beginning, with Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Node.js Learning Path: Unit 4 – Basic Concepts

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

Unit 4 of the LP gives you an introduction to the basic concepts you need to know when working with Node. Stuff like:

  • Sychronous versus asynchronous programming
  • Node’s module system, npm, and using third-party packages
  • Load testing using Apache bench, and loadtest
  • The Pyramid of Doom (I’m not making this up)

And lots more. I’ll even show you how to create a Node module (something you’ll do a LOT, trust me).

There’s a quiz to help you deepen your understanding of the material, and a video too:

Ready to dive into Node.js concepts? Then click here to jump right to Unit 4.

Want to take the entire course? Then click here to begin with Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Process Substitution and SHA256 Checksum

Hey everyone!

When you verify the SHA256 checksum of a downloaded file you can copy the checksum from the website, paste it into an editor, run the shasum -a 256 command, paste the checksum into that same editor and compare them by eye.

Or, use the diff command and process substitution to do it, and never have to trust your eyeballs again (you should still keep them open while driving though).

I put together this video to show how easy it is to do this. Enjoy!

Thanks for reading!

–jsp

 

Node.js Learning Path – Unit 3: Node.js Architecture

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

Unit 3 of the Learning Path starts with an overview of the Node.js architecture: the Node API, the Node Core, the Event Loop, and the JavaScript engine (Chrome’s V8 engine).

You’ll learn about ECMA Script (ES), and how the different versions get their names (Q: is it ES6 or ES2015? A: Yes).

You’ll learn the key to Node’s impressive scalability (spoiler alert: non-blocking I/O via the Event Loop), and even write some code using the Node Read-Eval-Print-Loop (REPL).

You’ll also get a tour of Node’s package manager, npm.

There’s even a video (just when you thought it couldn’t get any better):

Click here to start your Node journey, or here to jump right to Unit 3 of the Node Learning Path.

Thanks for reading!

–jsp

Node.js Learning Path – Unit 2 – Install Node

Hey everyone! If you want to learn Node.js, you should check out my Node.js Learning Path, which you can find only at IBM Developer.

Unit 2 of the LP shows you how to install the software you need, like:

When you’ve completed Unit 2 you’ll have the software on your computer you need to complete the Learning Path.

Ready to install Node? Then click here.

Thanks for reading!

–jsp

Node.js Learning Path – Unit 1

Hey everyone! If you want to learn Node.js, you should check out my Node.js Learning Path, which you can find only at IBM Developer.

Unit 1 is the overview, where I answer the question: “Why Node?” and show you a detailed outline of the Learning Path.

The Learning Path has two major parts:

  • Part One: Learn Node – Units 1-9
  • Part Two: Apply What You’ve Learned – Units 10-14

The Learning Path will be published unit-by-unit over the next several weeks.

Ready to start your Node.js journey? Then Click here.

Thanks for reading!

–jsp