filmov
tv
Node.js Crash course #2- Node.js Basics

Показать описание
Node. js (Node) is an open source development platform for executing JavaScript code server-side. ... js is intended to run on a dedicated HTTP server and to employ a single thread with one process at a time. Node. js applications are event-based and run asynchronously.
Node. js global objects are global in nature and available in all modules. You don't need to include these objects in your application; rather they can be used directly. These objects are modules, functions, strings and object etc. Some of these objects aren't actually in the global scope but in the module scope.
The Node. js file system module allows you to work with the file system on your computer. To include the File System module, use the require() method: var fs = require('fs'); ... Update files.
A stream is an abstract interface for working with streaming data in Node. js. The stream module provides an API for implementing the stream interface. ... Streams can be readable, writable, or both. All streams are instances of EventEmitter .
Node. js global objects are global in nature and available in all modules. You don't need to include these objects in your application; rather they can be used directly. These objects are modules, functions, strings and object etc. Some of these objects aren't actually in the global scope but in the module scope.
The Node. js file system module allows you to work with the file system on your computer. To include the File System module, use the require() method: var fs = require('fs'); ... Update files.
A stream is an abstract interface for working with streaming data in Node. js. The stream module provides an API for implementing the stream interface. ... Streams can be readable, writable, or both. All streams are instances of EventEmitter .