Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

About Node .js


May 10, 2021 Node.js


Table of contents


Node .js the official Chinese document

This document is translated from node .js official document and is intended for V0.12.2.

This document provides a comprehensive explanation of the Node .js API from both reference reference and concept, enough to give you a better understanding of .js NODE API.

Each .js Node's official documentation describes a built-in module or advanced concept.

In general, properties, method parameters, and parameters provided to the event handler are detailed in the list under the main title.

Each .html a corresponding .json contains the same structured content. These things are still experimental and primarily facilitate a variety of integrated development environments (IDEs) and development tools.

Each .html .json to the .markdown file in the doc/api/ T hese documents are tools/doc/generate.js The HTML template is doc/template.html .

Stability flag

In the document, you'll see a stability flag for each chapter. N ode.js API is still being improved, and mature parts are more trustworthy than other chapters. A PIs that have been heavily validated and relied on are generally unchanged. Other new, experimental, or proven dangerous parts are being redesigned.

Stability flags include the following:

稳定性(Stability): 0 - 抛弃
这部分内容有问题,并已计划改变。不要使用这些内容,可能会引起警告。不要想什么向后兼容性了。
稳定性(Stability): 1 - 试验
这部分内容最近刚引进,将来的版本可能会改变也可能会被移除。你可以试试并提供反馈。如果你用到的部分对你来说非常重要,可以告诉 node 的核心团队。
稳定性(Stability): 2 - 不稳定
这部分 API 正在调整中,还没在实际工作测试中达到满意的程度。如果合理的话会保证向后兼容性。
稳定性(Stability): 3 - 稳定
这部分 API 验证过基本能令人满意,但是清理底层代码时可能会引起小的改变。保证向后的兼容性。
稳定性(Stability): 4 - API 冻结
这部分的 API 已经在产品中广泛试验,不太可能被改变。
稳定性(Stability): 5 - 锁定
除非发现了严重 bug,否则这部分代码永远不会改变。请不要对这部分内容提出更改建议,否则会被拒绝。

JSON output

稳定性(Stability): 1 - 试验

Each HTML file generated by markdown has its own JSON file.

This feature starts with v0.6.12 and is an experimental feature.

The date of the update Update the content
2015-04-21 The first edition was released and translated from node .js V0.12.2 official documents

Related tutorials

JSON tutorial