Skip to content

Files

Latest commit

1a08e92 · Dec 2, 2023

History

History
56 lines (36 loc) · 1.08 KB

README.md

File metadata and controls

56 lines (36 loc) · 1.08 KB

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