⚙️Node.js
Also known as Node, NodeJS
A tool that runs JavaScript outside the browser. Servers use it a lot.
Think of it like
Think of it like taking a fish out of its tank and giving it legs. Now it can walk on land too.
Example
Node.js was created by Ryan Dahl and first released in 2009. Jack uses it to run his shop's server and his build tools.
Why it matters
It lets you use one language for both the page and the server. Most web build tools run on it.
Definition
Example code
console
$ node -e 'console.log(1 + 1)'
2Common mistake
Key takeaways
- 1JavaScript off the page. On servers and laptops.
- 2Never sits idle. Handles many users at once.
- 3Comes with npm. A huge store of packages.