Nodejs C++ addon to get device screen size
npm install nc-screenor
yarn add nc-screenconst { getInfo } = require('nc-screen');
console.log(getInfo()); // {width: 1920, heigth: 1080}sudo yarn buildor
sudo npm run buildYou can read history changes from this doc.