/nc-screen

🖥️Nodejs C++ addon to get device screen size

Primary LanguageC++MIT LicenseMIT

English|简体中文

nc-screen

Build Status Download Coverage Npm Node License

Nodejs C++ addon to get device screen size

Install

npm install nc-screen

or

yarn add nc-screen

Usage

const { getInfo } = require('nc-screen');

console.log(getInfo()); // {width: 1920, heigth: 1080}

Compile

sudo yarn build

or

sudo npm run build

Change Log

You can read history changes from this doc.

Author

Thomas Leung

LICENSE

MIT