Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

cli-size

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-size

Get the terminal size.

Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
263
15.86%
Maintainers
1
Weekly downloads
 
Created
Source

cli-size

Patreon PayPal AMA Version Downloads Get help on Codementor

Get the terminal size.

:cloud: Installation

$ npm i --save cli-size

:clipboard: Example

const cliSize = require("cli-size");

console.log(cliSize());

:memo: Documentation

cliSize()

Get the terminal size.

Return

  • Object An object containing the terminal size.

:yum: How to contribute

Have an idea? Found a bug? See how to contribute.

:moneybag: Donations

Another way to support the development of my open-source modules is to set up a recurring donation, via Patreon. :rocket:

PayPal donations are appreciated too! Each dollar helps.

Thanks! :heart:

:dizzy: Where is this library used?

If you are using this library in one of your projects, add it in this list. :sparkles:

  • cli-resize—Listen for the terminal resize event in a friendly way.
  • cli-update—A library to update stdout output.

:scroll: License

MIT © Ionică Bizău

Keywords

cli

FAQs

Package last updated on 11 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts