JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3945543
  • Score
    100M100P100Q200643F
  • License MIT

Reliable way to to get the height and width of the terminal/console in a node.js environment.

Package Exports

  • window-size

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (window-size) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

window-size NPM version

Reliable way to to get the height and width of the terminal/console in a node.js environment.

Install

Install with npm

$ npm i window-size --save

Usage

var size = require('window-size');
size.height; // "25" (rows)
size.width; // "80" (columns)

Other projects

  • assemble: Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt,… more
  • micromatch: Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just… more
  • remarkable: Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in… more
  • snapdragon: snapdragon is an extremely pluggable, powerful and easy-to-use parser-renderer factory.
  • verb: Documentation generator for GitHub projects. Extremely powerful, easy to use, can generate anything from API… more

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright © 2014-2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on June 07, 2015.