UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS and CSS.

66 lines (65 loc) 2.62 kB
{ "_args": [ [ "window-size@https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", "/Users/gajus/Documents/dev/canonical-code-style/canonical" ] ], "_from": "window-size@0.1.0", "_id": "window-size@0.1.0", "_inCache": true, "_location": "/window-size", "_phantomChildren": {}, "_requested": { "name": "window-size", "raw": "window-size@https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", "rawSpec": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", "scope": null, "spec": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", "type": "remote" }, "_requiredBy": [ "/uglify-js/yargs" ], "_resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", "_shasum": "5438cd2ea93b202efa3a19fe8887aee7c94f9c9d", "_shrinkwrap": null, "_spec": "window-size@https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", "_where": "/Users/gajus/Documents/dev/canonical-code-style/canonical", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/window-size/issues" }, "dependencies": {}, "description": "Reliable way to to get the height and width of the terminal/console in a node.js environment.", "devDependencies": {}, "engines": { "node": ">= 0.8.0" }, "homepage": "https://github.com/jonschlinkert/window-size", "keywords": [ "console", "terminal", "tty", "window" ], "licenses": [ { "type": "MIT", "url": "https://github.com/jonschlinkert/window-size/blob/master/LICENSE-MIT" } ], "main": "index.js", "name": "window-size", "optionalDependencies": {}, "readme": "# window-size [![NPM version](https://badge.fury.io/js/window-size.png)](http://badge.fury.io/js/window-size)\r\n\r\n> Reliable way to to get the height and width of the terminal/console in a node.js environment.\r\n\r\n## Install\r\n\r\n### [npm](npmjs.org)\r\n\r\n```bash\r\nnpm i window-size --save\r\n```\r\n\r\n```javascript\r\nvar size = require('window-size');\r\nsize.height; // \"80\" (rows)\r\nsize.width; // \"25\" (columns)\r\n```\r\n\r\n## Author\r\n\r\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\r\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\r\n\r\n## License\r\nCopyright (c) 2014 Jon Schlinkert\r\nLicensed under the MIT license.", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/window-size.git" }, "version": "0.1.0" }