2020-06-14 23:49:34 +02:00
|
|
|
# About this documentation
|
2012-02-27 20:06:14 +01:00
|
|
|
|
2017-01-23 04:16:21 +01:00
|
|
|
<!--introduced_in=v0.10.0-->
|
2012-02-27 20:06:14 +01:00
|
|
|
<!-- type=misc -->
|
|
|
|
|
2019-05-16 05:24:21 +02:00
|
|
|
Welcome to the official API reference documentation for Node.js!
|
2012-02-27 20:06:14 +01:00
|
|
|
|
2019-05-16 05:24:21 +02:00
|
|
|
Node.js is a JavaScript runtime built on the [V8 JavaScript engine][].
|
2012-02-27 20:06:14 +01:00
|
|
|
|
2017-12-15 22:49:36 +01:00
|
|
|
## Contributing
|
2016-01-08 19:32:50 +01:00
|
|
|
|
2019-05-21 01:18:46 +02:00
|
|
|
Report errors in this documentation in [the issue tracker][]. See
|
|
|
|
[the contributing guide][] for directions on how to submit pull requests.
|
2016-01-08 19:32:50 +01:00
|
|
|
|
2020-06-14 23:49:34 +02:00
|
|
|
## Stability index
|
2012-02-27 20:06:14 +01:00
|
|
|
|
|
|
|
<!--type=misc-->
|
|
|
|
|
2019-05-23 01:29:11 +02:00
|
|
|
Throughout the documentation are indications of a section's stability. Some APIs
|
|
|
|
are so proven and so relied upon that they are unlikely to ever change at all.
|
|
|
|
Others are brand new and experimental, or known to be hazardous.
|
2012-02-27 20:06:14 +01:00
|
|
|
|
|
|
|
The stability indices are as follows:
|
|
|
|
|
2018-08-27 03:30:48 +02:00
|
|
|
> Stability: 0 - Deprecated. The feature may emit warnings. Backward
|
|
|
|
> compatibility is not guaranteed.
|
2018-05-06 02:59:23 +02:00
|
|
|
|
|
|
|
<!-- separator -->
|
|
|
|
|
2020-02-27 18:30:24 +01:00
|
|
|
> Stability: 1 - Experimental. The feature is not subject to
|
|
|
|
> [Semantic Versioning][] rules. Non-backward compatible changes or removal may
|
|
|
|
> occur in any future release. Use of the feature is not recommended in
|
|
|
|
> production environments.
|
2018-05-06 02:59:23 +02:00
|
|
|
|
|
|
|
<!-- separator -->
|
|
|
|
|
2018-08-27 03:30:48 +02:00
|
|
|
> Stability: 2 - Stable. Compatibility with the npm ecosystem is a high
|
|
|
|
> priority.
|
2012-02-27 20:06:14 +01:00
|
|
|
|
2019-05-28 07:59:03 +02:00
|
|
|
Use caution when making use of Experimental features, particularly within
|
|
|
|
modules. End users may not be aware that experimental features are being used.
|
|
|
|
Bugs or behavior changes may surprise end users when Experimental API
|
|
|
|
modifications occur. To avoid surprises, use of an Experimental feature may need
|
|
|
|
a command-line flag. Experimental features may also emit a [warning][].
|
2017-12-15 22:49:36 +01:00
|
|
|
|
2020-06-14 23:49:34 +02:00
|
|
|
## JSON output
|
2017-12-15 22:49:36 +01:00
|
|
|
<!-- YAML
|
|
|
|
added: v0.6.12
|
|
|
|
-->
|
2012-03-04 00:51:14 +01:00
|
|
|
|
2019-05-23 20:45:49 +02:00
|
|
|
Every `.html` document has a corresponding `.json` document. This is for IDEs
|
|
|
|
and other utilities that consume the documentation.
|
2016-02-04 13:11:17 +01:00
|
|
|
|
2019-05-30 10:00:11 +02:00
|
|
|
## System calls and man pages
|
2016-02-04 13:11:17 +01:00
|
|
|
|
2019-05-30 10:00:11 +02:00
|
|
|
Node.js functions which wrap a system call will document that. The docs link
|
|
|
|
to the corresponding man pages which describe how the system call works.
|
2016-02-04 13:11:17 +01:00
|
|
|
|
2019-05-30 10:00:11 +02:00
|
|
|
Most Unix system calls have Windows analogues. Still, behavior differences may
|
|
|
|
be unavoidable.
|
2016-01-08 19:32:50 +01:00
|
|
|
|
2020-02-27 18:30:24 +01:00
|
|
|
[Semantic Versioning]: https://semver.org/
|
2018-04-09 18:30:22 +02:00
|
|
|
[the contributing guide]: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
|
2019-05-21 01:18:46 +02:00
|
|
|
[the issue tracker]: https://github.com/nodejs/node/issues/new
|
2019-05-16 05:24:21 +02:00
|
|
|
[V8 JavaScript engine]: https://v8.dev/
|
2019-05-28 07:59:03 +02:00
|
|
|
[warning]: process.html#process_event_warning
|