OS

Operating system-related utility method.

language(readonly)

  • Type: String

The language of the OS.

var OS = require("OS");
console.log(OS.language)

platform(readonly)

  • Type: String

The platform running Nidium

Possible values are :

  • linux
  • win
  • mac
  • android
  • ios
  • bsd.
var OS = require("OS");
console.log(OS.platform)

Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!