Node.js

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Node has an ____-driven architecture.

event

In addition to core modules, modules included within the environment to efficiently perform common tasks, we can also create our own modules using ______ and the ______() function.

module.exports, require

Node allows for both ______, data/feedback to a user provided by a computer, and ______ data/feedback to the computer provided by the user.

output, input

REPLs

processes that read, evaluate, print, and repeat (loop)

In order to handle _____ during ______ operations, provided callback functions are expected to have an _____ as their first parameter.

errors, asynchronous, error

The Node fs core module is an _____ for interacting with the file system.

API

We can make our own instances of the ______ class and we can subscribe to _____ for named events with the .______() method and emit events with the ._____() method.

EventEmitter, listen, on, emit

Node uses an _____ loop which enables _____ actions to be handled in a non-_____ way by adding _____ functions to a queue of tasks to be executed when the callstack is empty.

event, asynchronous, blocking, callback

______ allow us to read or write data ______ by _____ instead of all at once.

Streams, piece, piece

Code can be organized into separate files, modules, and combined through requiring them where needed using the _____() function.

require

Node.js is a ______ runtime, an environment that allows us to execute our ______ code by converting it into something a computer can understand.

JavaScript, JavaScript

The Node _____ core module allows for easy creation of web _____, computer processes that _____ for requests from clients and return responses.

http, servers, listen


संबंधित स्टडी सेट्स

Chapter 5 - Technology and Its Effects

View Set

introduction, scientific method, history, sleep, drugs, brain, bio

View Set

Chapter 9 - Nail Structure and Growth

View Set