Function platform

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

    The return value is equivalent to process.platform.

    Returns Platform

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

    The return value is equivalent to process.platform.

    Returns Platform

Generated using TypeDoc