Skip to content

Commit

Permalink
doc: make os api doc more consistent
Browse files Browse the repository at this point in the history
This adds a missing Returns to os.arch() as well as a missing added in
version to os.constants.

PR-URL: #10994
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
evanlucas authored and MylesBorins committed Apr 17, 2017
1 parent b0daa9b commit 7b121f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/api/os.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ A string constant defining the operating system-specific end-of-line marker:
added: v0.5.0
-->

* Returns: {String}

The `os.arch()` method returns a string identifying the operating system CPU
architecture *for which the Node.js binary was compiled*.

Expand All @@ -36,6 +38,9 @@ The current possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,
Equivalent to [`process.arch`][].

## os.constants
<!-- YAML
added: v6.3.0
-->

* {Object}

Expand Down

0 comments on commit 7b121f1

Please sign in to comment.