Node.js · 14-day planAll days
Day 1 of 14 30 minRuntimeScriptsprocess
Node.js runs JavaScript outside the browser, on servers and your own computer. Learn what it is and why it's popular, how it differs from the browser, how to run a script, and how a program talks to its environment through the process object.
By the end of today you can
- Explain what Node.js is and what people build with it
- Describe the differences between Node.js and JavaScript in the browser
- Run a script and read command-line arguments
- Use the process object for environment variables, timing and exit codes
- Write output with console.log and process.stdout.write
What's inside
- 4 sections
- 3 diagrams and mind maps
- 5 code examples you can run
- 5-question quiz
- 1What Node.js is
- 2Your first program
- 3Node.js vs the browser
- 4The process object
Sign in free to read this lesson
Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.
Sign in free