{"_id":"screen-info","_rev":"5-23d5d8740264d1e3ad9541fc7360f0f3","name":"screen-info","description":"Multiplatform screen & monitors info","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"screen-info","version":"0.0.1","description":"Multiplatform screen & monitors info","repository":{"type":"git","url":"git+https://github.com/parro-it/screen-info.git"},"author":{"name":"Andrea Parodi","email":"andrea@parro.it"},"license":"MIT","scripts":{"test":"ava && xo","autogypi":"autogypi","node-gyp":"node-gyp","install":"autogypi && npm run setup","setup":"node-gyp configure build"},"keywords":["screen","resolution","pixels","width","heigth","monitor","size","color","display","multiplatform","multi-platform","native","multi","platform"],"tonicExampleFilename":"example.js","jsnext:main":"main.js","devDependencies":{"ava":"^0.17.0","xo":"^0.17.1"},"files":["example.js","index.js","src","binding.gyp","auto-top.gypi","auto.gypi","autogypi.json"],"dependencies":{"autogypi":"^0.2.2","nbind":"^0.3.5","node-gyp":"^3.4.0"},"gitHead":"9899b0677d0933cddf47bfe6a0bbe0ff6ae6bef4","bugs":{"url":"https://github.com/parro-it/screen-info/issues"},"homepage":"https://github.com/parro-it/screen-info#readme","_id":"screen-info@0.0.1","_shasum":"55fed2bf3204de563024a519be1689a337363be0","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"parroit","email":"andrea@parro.it"},"dist":{"shasum":"55fed2bf3204de563024a519be1689a337363be0","tarball":"https://registry.npmjs.org/screen-info/-/screen-info-0.0.1.tgz","integrity":"sha512-qhZqwGHipq46CkGmIRUJyFO182ExVDSQK3f9jSCpoUs9XlWXdXjt7RnMus4PjVQecwnorVF6d9AM0IVlURLbpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6QCiU2nKMJun1KqyD+gETsKJhEIOS/magnCdR32WnrwIgSn/0917EjdZ48wCfYnHr+ofQxqtL7EtKooprM93aST8="}]},"maintainers":[{"name":"parroit","email":"andrea@parro.it"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/screen-info-0.0.1.tgz_1482344947988_0.2873534557875246"}},"1.0.0":{"name":"screen-info","version":"1.0.0","description":"Multiplatform screen & monitors info","repository":{"type":"git","url":"git+https://github.com/parro-it/screen-info.git"},"author":{"name":"Andrea Parodi","email":"andrea@parro.it"},"license":"MIT","scripts":{"test":"ava && xo","autogypi":"autogypi","node-gyp":"node-gyp","install":"autogypi && npm run setup","setup":"node-gyp configure build"},"keywords":["screen","resolution","pixels","width","heigth","monitor","size","color","display","multiplatform","multi-platform","native","multi","platform"],"tonicExampleFilename":"example.js","jsnext:main":"main.js","devDependencies":{"ava":"^0.17.0","xo":"^0.17.1"},"files":["example.js","index.js","src","binding.gyp","auto-top.gypi","auto.gypi","autogypi.json"],"dependencies":{"autogypi":"^0.2.2","nbind":"^0.3.5","node-gyp":"^3.4.0"},"gitHead":"d5f453c9aaa05ec67d14eeeca8e9c6a572fb99b3","bugs":{"url":"https://github.com/parro-it/screen-info/issues"},"homepage":"https://github.com/parro-it/screen-info#readme","_id":"screen-info@1.0.0","_shasum":"b1c23c2fea3ba32cf71c77bb66cf5d7c802ad7f9","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"parroit","email":"andrea@parro.it"},"dist":{"shasum":"b1c23c2fea3ba32cf71c77bb66cf5d7c802ad7f9","tarball":"https://registry.npmjs.org/screen-info/-/screen-info-1.0.0.tgz","integrity":"sha512-yDcnQg2+MANjC6A+5aVwXNsRbMMSFlTaCYwG5VnoNxOr0FsKtrvcOFMBbt0bv48JWMpZqjUkaP+ISNuae95KTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDY3HBCpX3+PYGaspOWTKRyMM9A6f46kFFf45Q+RfdTiAIgBDp+80QXTU416bBnGh4Cvt2HLopFZkhTUOi8v5RUNs8="}]},"maintainers":[{"name":"parroit","email":"andrea@parro.it"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/screen-info-1.0.0.tgz_1482345255554_0.6291376147419214"}},"1.0.1":{"name":"screen-info","version":"1.0.1","description":"Multiplatform screen & monitors info","repository":{"type":"git","url":"git+https://github.com/parro-it/screen-info.git"},"author":{"name":"Andrea Parodi","email":"andrea@parro.it"},"license":"MIT","scripts":{"test":"ava && xo","autogypi":"autogypi","node-gyp":"node-gyp","install":"autogypi && npm run setup","setup":"node-gyp configure build"},"keywords":["screen","resolution","pixels","width","heigth","height","monitor","size","color","display","multiplatform","multi-platform","native","multi","platform"],"tonicExampleFilename":"example.js","devDependencies":{"ava":"^0.17.0","xo":"^0.17.1"},"files":["example.js","index.js","src","binding.gyp","auto-top.gypi","auto.gypi","autogypi.json"],"dependencies":{"autogypi":"^0.2.2","nbind":"^0.3.5","node-gyp":"^3.4.0"},"gitHead":"5470a13acd16b587e2c4ced7528ae024e44438f9","bugs":{"url":"https://github.com/parro-it/screen-info/issues"},"homepage":"https://github.com/parro-it/screen-info#readme","_id":"screen-info@1.0.1","_shasum":"b085c9554146edcd2221958326213f30a60b8533","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"parroit","email":"andrea@parro.it"},"dist":{"shasum":"b085c9554146edcd2221958326213f30a60b8533","tarball":"https://registry.npmjs.org/screen-info/-/screen-info-1.0.1.tgz","integrity":"sha512-CZ4UFE95/KRgIPSuKdioRWh2IHrEAO0qc4Gt//Nqi4UZ6miZPBOoPetFS3SQ9FGV+dvk/VA9Z1CN96Z61C6EDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC232xBU3NCXP8awejpqV7h9EFsxe37KJM/pIXnXZb38QIgScsa7O3cMM9nUTY5dmDK1GMZyKmHdMWv+4c+GiO9V+I="}]},"maintainers":[{"name":"parroit","email":"andrea@parro.it"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/screen-info-1.0.1.tgz_1482345385425_0.2612475666683167"}}},"readme":"# screen-info\n\n> A native multiplatform module to query the system OS for displays info.\n\n## Usage\n\nGet current screen info & print it to console:\n\n```js\nimport Screen from '.';\n\nconst mainScreen = Screen.main();\nconsole.log(`\n\tCurrent screen size is ${mainScreen}\n\t${mainScreen.width} pixels width,\n\t${mainScreen.height} pixels height,\n\t${mainScreen.colorDepth} bits per pixels\n`);\n```\n\nThis will output\n\n```\n\tCurrent screen size is 1920x1080x24\n\t1920 pixels width,\n\t1080 pixels height,\n\t24 bits per pixels\n```\n\n[![Travis Build Status](https://img.shields.io/travis/parro-it/screen-info/master.svg)](http://travis-ci.org/parro-it/screen-info)\n[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/0j904vwgk43vuh3h?svg=true)](https://ci.appveyor.com/project/parro-it/screen-info)[![NPM downloads](https://img.shields.io/npm/dt/screen-info.svg)](https://npmjs.org/package/screen-info)\n\n\n## API\n\n```js\nmain: () => {width:number, height: number, colorDepth: number}\n```\n\nreturn the size and color depth of default system display\n\n```js\nall: () => [{width:number, height: number, colorDepth: number}]\n```\n\nreturn the size and color depth of all system displays\n\n## Install\n\nWith [npm](https://npmjs.org/) installed, run\n\n```\n$ npm install screen-info\n```\n\n## See Also\n\n- [`noffle/common-readme`](https://github.com/noffle/common-readme)\n\n## License\n\nMIT\n\n","maintainers":[{"name":"parroit","email":"andrea@parro.it"}],"time":{"modified":"2022-06-26T16:44:16.895Z","created":"2016-12-21T18:29:10.098Z","0.0.1":"2016-12-21T18:29:10.098Z","1.0.0":"2016-12-21T18:34:16.174Z","1.0.1":"2016-12-21T18:36:27.590Z"},"homepage":"https://github.com/parro-it/screen-info#readme","keywords":["screen","resolution","pixels","width","heigth","height","monitor","size","color","display","multiplatform","multi-platform","native","multi","platform"],"repository":{"type":"git","url":"git+https://github.com/parro-it/screen-info.git"},"author":{"name":"Andrea Parodi","email":"andrea@parro.it"},"bugs":{"url":"https://github.com/parro-it/screen-info/issues"},"license":"MIT","readmeFilename":"readme.md"}