File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -1376,13 +1376,26 @@ added: v0.1.16
13761376* {string}
13771377
13781378The ` process.platform ` property returns a string identifying the operating
1379- system platform on which the Node.js process is running. For instance
1380- ` 'darwin' ` , ` 'freebsd' ` , ` 'linux' ` , ` 'sunos' ` or ` 'win32' `
1379+ system platform on which the Node.js process is running.
1380+
1381+ Currently possible values are:
1382+
1383+ * ` 'aix' `
1384+ * ` 'darwin' `
1385+ * ` 'freebsd' `
1386+ * ` 'linux' `
1387+ * ` 'openbsd' `
1388+ * ` 'sunos' `
1389+ * ` 'win32' `
13811390
13821391``` js
13831392console .log (` This platform is ${ process .platform } ` );
13841393```
13851394
1395+ The value ` 'android' ` may also be returned if the Node.js is built on the
1396+ Android operating system. However, Android support in Node.js
1397+ [ is experimental] [ Supported platforms ] .
1398+
13861399## process.ppid
13871400<!-- YAML
13881401added: REPLACEME
@@ -1919,5 +1932,6 @@ cases:
19191932[ Readable ] : stream.html#stream_readable_streams
19201933[ Signal Events ] : #process_signal_events
19211934[ Stream compatibility ] : stream.html#stream_compatibility_with_older_node_js_versions
1935+ [ Supported platforms ] : https://github.com/nodejs/node/blob/master/BUILDING.md#supported-platforms-1
19221936[ TTY ] : tty.html#tty_tty
19231937[ Writable ] : stream.html#stream_writable_streams
You can’t perform that action at this time.
0 commit comments