Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: make os api doc more consistent #10994

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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