CARVIEW |
- Log in to:
- Community
- DigitalOcean
- Sign up for:
- Community
- DigitalOcean
How To Code in Node.js

Introduction
Node.js is a popular open-source runtime environment that can execute JavaScript outside of the browser. The Node runtime is commonly used for back-end web development, leveraging its asynchronous capabilities to create networking applications and web servers. Node also is a popular choice for building command line tools.
In this series, you will go through exercises to learn the basics of how to code in Node.js, gaining powerful tools for back-end and full stack development in the process.
Tutorials in series
How To Write and Run Your First Program in Node.js
- August 14, 2019
- 9 min read
How To Use the Node.js REPL
- September 18, 2019
- 10 min read
How To Use Node.js Modules with npm and package.json
- November 27, 2019
- 19 min read
How To Create a Node.js Module
- December 3, 2019
- 11 min read
How To Write Asynchronous Code in Node.js
- February 5, 2020
- 19 min read
How To Test a Node.js Module with Mocha and Assert
- March 17, 2020
- 34 min read
How To Create a Web Server in Node.js with the HTTP Module
- April 10, 2020
- 25 min read
Using Buffers in Node.js
- May 1, 2020
- 13 min read
Using Event Emitters in Node.js
- May 29, 2020
- 21 min read
Become a contributor for community
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
DigitalOcean Documentation
Full documentation for every DigitalOcean product.
Resources for startups and SMBs
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Get our newsletter
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
The developer cloud
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Get started for free
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.