Node.js

Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js’ package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

翻译:

Node.js® 是一个基于「Chrome 的 V8 JavaScript 引擎」的 JavaScript 运行时环境。Node.js 使用事件驱动、非阻塞 I/O 模型,使其轻量和高效。Node.js 的包生态系统,npm,是世界上最大的开源库生态系统。

docker - Node.js

What is Node.js?

Node.js is a software platform for scalable server-side and networking applications. Node.js applications are written in JavaScript and can be run within the Node.js runtime on Mac OS X, Windows, and Linux without changes.

Node.js applications are designed to maximize throughput and efficiency, using non-blocking I/O and asynchronous events. Node.js applications run single-threaded, although Node.js uses multiple threads for file and network events. Node.js is commonly used for real-time applications due to its asynchronous nature.

Node.js internally uses the Google V8 JavaScript engine to execute code; a large percentage of the basic modules are written in JavaScript. Node.js contains a built-in, asynchronous I/O library for file, socket, and HTTP communication. The HTTP and socket support allows Node.js to act as a web server without additional software such as Apache.

翻译:

什么是 Node.js?

Node.js 是一个软件平台,用于可扩展的服务器端和网络应用程序。Node.js 应用程序是用 JavaScript 编写的,可以在 Mac OS X,Windows 和 Linux 上的 Node.js 运行时中直接运行,而无需任何更改。

Node.js 应用程序,被设计为使用「非阻塞 I/O」和「异步事件」来最大化吞吐率和效率。尽管 Node.js 对文件和网络事件使用多个线程,但 Node.js 应用程序运行于单线程。Node.js 由于其异步性质而常用于实时应用程序。

Node.js 在内部使用 Google V8 JavaScript 引擎来执行代码;大部分的基本模块是用 JavaScript 编写的。 Node.js 包含一个用于文件、socket 和 HTTP 通信的内置异步 I/O 库。HTTP 和 socket 支持 Node.js 充当 web server 而无需其他软件,如 Apache。