Computer ScienceScience & MathematicsEconomics & FinanceBusiness & ManagementPolitics & GovernmentHistoryPhilosophy

How To Code in Node.js

by David Landup, Marcus Sanatan

How To Code in Node.js

Subscribe to new books via dBooks.org telegram channel

Join
DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

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 is also a popular choice for building command line tools.

In this book, you will go through exercises to learn the basics of how to code in Node.js, gaining skills that apply equally to back-end and full stack development in the process.

By the end of this book you will be able to write programs that leverage Node's asynchronous code execution capabilities, complete with event emitters and listeners that will respond to user actions. Along the way you will learn how to debug Node applications using the built-in debugging utilities, as well as the Chrome browser's DevTools utilities. You will also learn how to write automated tests for your programs to ensure that any features that you add or change function as you expect.

This open book is licensed under a Creative Commons License (CC BY-NC-SA). You can download How To Code in Node.js ebook for free in PDF format (5.6 MB).

Table of Contents

 
How To Write and Run Your First Program in Node.js
 
How To Use the Node.js REPL
 
How To Use Node.js Modules with npm and package.json
 
How To Create a Node.js Module
 
How To Write Asynchronous Code in Node.js
 
How To Test a Node.js Module with Mocha and Assert
 
How To Create a Web Server in Node.js with the HTTP Module
 
Using Buffers in Node.js
 
Using Event Emitters in Node.js
 
How To Debug Node.js with the Built-In Debugger and Chrome DevTools
 
How To Launch Child Processes in Node.js
 
How To Work with Files using the fs Module in Node.js
 
How To Create an HTTP Client with Core HTTP in Node.js

Book Details

Title
How To Code in Node.js
Subject
Computer Science
Publisher
DigitalOcean
Published
2020
Pages
418
Edition
1
Language
English
ISBN13 Digital
9781735831725
ISBN10 Digital
1735831727
PDF Size
5.6 MB
License
CC BY-NC-SA

Book Hashtags

Related Books

How To Code in React.js
This open book is an introduction to React that works from the foundations upward. Each chapter takes you a little deeper into the React ecosystem, building on your previous knowledge. Along the way, you'll learn how to maintain internal state, pass information between parts of an application, and explore different options for styling your app...
From Containers to Kubernetes with Node.js
This book is designed as an introduction to containers and Kubernetes by way of Node.js. Containers are the basis for distributed, repeatable workflows with orchestrators such as Kubernetes, and they allow developers and operators to develop applications consistently across environments and deploy in a repeatable and predictable fashion. The exa...
How To Code in Go
This book is designed to introduce you to writing programs with the Go programming language. You'll learn how to write useful tools and applications that can run on remote servers, or local Windows, macOS, and Linux systems for development. The topics that it covers include how to: - Install and set up a local Go development environment on...
How to Code in HTML5 and CSS3
"How to Code in HTML5 and CSS3" is a free e-book about making websites in HTML5 and CSS for absolute beginners. It doesn't require any experience in IT to start. The aim of this book is to show the art of making websites using a plain language which is full of practical analogies. After reading over 100 pages you will get to know bas...
Learning Node.js
Node.js is an event-based, non-blocking, asynchronous I/O framework that uses Google's V8 JavaScript engine. It is used for developing applications that make heavy use of the ability to run JavaScript both on the client, as well as on server side and therefore benefit from the re-usability of code and the lack of context switching. It is open-...
The Node.js Handbook
Node.js is built on top of the Google Chrome V8 JavaScript engine, and it's mainly used to create web servers - but it's not limited to that. The Node.js Handbook follows the 80/20 rule: learn in 20% of the time the 80% of a topic. The author find this approach gives a well-rounded overview....