bridge between nodejs and host operating system code example
Example 1: import os js
import os from 'os';
Example 2: get platform node
const os = require('os');
console.log('Platform: ${os.platform()}');
import os from 'os';
const os = require('os');
console.log('Platform: ${os.platform()}');