GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: improve docs to give descriptive info for the platform property · nodejs/node@9616fd5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • os.md
    • process.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/os.md‎

Copy file name to clipboardExpand all lines: doc/api/os.md
+4-3Lines changed: 4 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,10 @@ added: v0.5.0
299299

300300
* Returns: {string}
301301

302-
Returns a string identifying the operating system platform. The value is set
303-
at compile time. Possible values are `'aix'`, `'darwin'`, `'freebsd'`,
304-
`'linux'`, `'openbsd'`, `'sunos'`, and `'win32'`.
302+
Returns a string identifying the operating system platform for which
303+
the Node.js binary was compiled. The value is set at compile time.
304+
Possible values are `'aix'`, `'darwin'`, `'freebsd'`,`'linux'`,
305+
`'openbsd'`, `'sunos'`, and `'win32'`.
305306

306307
The return value is equivalent to [`process.platform`][].
307308

Collapse file

‎doc/api/process.md‎

Copy file name to clipboardExpand all lines: doc/api/process.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2609,7 +2609,7 @@ added: v0.1.16
26092609
* {string}
26102610
26112611
The `process.platform` property returns a string identifying the operating
2612-
system platform on which the Node.js process is running.
2612+
system platform for which the Node.js binary was compiled.
26132613
26142614
Currently possible values are:
26152615

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.