Skip to content

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

License

Notifications You must be signed in to change notification settings

avennn/nc-screen

Repository files navigation

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