How To Code in Node.js



Download free course How To Code in Node.js, pdf file on 418 pages by David Landup, Marcus Sanatan.
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.

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
Pages418
Size5.6 MB
File typePDF
Downloads267
Created2022-02-02
LicenseCC BY-NC-SA
Author(s) David Landup, Marcus Sanatan
Cover of How To Code in Node.js

Download

  • iOS Notes for Professionals

    Do you want to understand all the facets of iOS programming and build complex iOS apps? Then you have come to the right place. This problem-solution guide will help you to eliminate expensive learning curves and focus on specific issues to make you proficient at tasks and the speed-up time involved....

  • Blender 3D: Noob to Pro

    This book is a series of tutorials to help new users learn Blender. The tutorials increase in difficulty, and later tutorials are built on the previous ones. Therefore, Blender beginners should follow the tutorials in sequence. Intermediate users can skip to a tutorial of suitable difficulty. Effo...

  • Don't Just Roll the Dice

    Download free course Don't Just Roll the Dice, pdf file on 74 pages by Neil Davidson....

  • Digital Dilemmas

    Download free course Digital Dilemmas, pdf file on 93 pages by Øyvind Kvalnes....

  • Understanding Machine Learning: From Theory to Algorithms

    Download Understanding Machine Learning tutorial, a complete eBook created by Shai Shalev-Shwartz and Shai Ben-David....

  • Mining Social Media

    Download free course Mining Social Media, pdf file on 208 pages by Lam Thuy Vo....

  • Advances in Satellite Communications

    Satellite communication systems are now a major part of most telecommunications networks as well as our everyday lives through mobile personal communication systems and broadcast television. A sound understanding of such systems is therefore important for a wide range of system designers, engineers ...

  • Learning SAP ABAP

    Download free course Learning SAP ABAP, pdf file on 42 pages by Stack Overflow Community....

  • Kubernetes Succinctly

    Download free course Kubernetes Succinctly, pdf file on 121 pages by Rahul Rai, Tarun Pabbi....

  • Think Data Structures

    Download free course Think Data Structures, pdf file on 187 pages by Allen Downey....