Skip to content

Commit 7b121f1

Browse files
evanlucasMylesBorins
authored andcommitted
doc: make os api doc more consistent
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 <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent b0daa9b commit 7b121f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/api/os.md

+5
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ A string constant defining the operating system-specific end-of-line marker:
2626
added: v0.5.0
2727
-->
2828

29+
* Returns: {String}
30+
2931
The `os.arch()` method returns a string identifying the operating system CPU
3032
architecture *for which the Node.js binary was compiled*.
3133

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

3840
## os.constants
41+
<!-- YAML
42+
added: v6.3.0
43+
-->
3944

4045
* {Object}
4146

0 commit comments

Comments
 (0)