Skip to content

Commit

Permalink
doc: update process.versions.modules documentation
Browse files Browse the repository at this point in the history
This commit adds a description of `process.versions.modules`,
based on the comment in `src/node_version.h` lines 47-50.

PR-URL: #9901
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
kzurawel authored and evanlucas committed Jan 4, 2017
1 parent 501165f commit 0c4cf24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,9 @@ added: v0.2.0
* {Object}

The `process.versions` property returns an object listing the version strings of
Node.js and its dependencies.
Node.js and its dependencies. In addition, `process.versions.modules` indicates
the current ABI version, which is increased whenever a C++ API changes. Node.js
will refuse to load native modules built for an older `modules` value.

```js
console.log(process.versions);
Expand Down

0 comments on commit 0c4cf24

Please sign in to comment.