Sha256: e7a372abe891fb1f51f1407cccb2785eb1804e9ae94b4a635b843c4248a9febd

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

cli-width
=========

Get stdout window width, with two fallbacks, `tty` and then a default.

## Usage

```
npm install --save cli-width
```

```js
'use stict';

var cliWidth = require('cli-width');

cliWidth(); // maybe 204 :)
```

If none of the methods are supported, the default is `0` and
can be changed via `cliWidth.defaultWidth = 200;`.

## Tests

```bash
npm install
npm test
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eslint_node_modules-1.6.0.1 vendor/node_modules/eslint/node_modules/inquirer/node_modules/cli-width/README.md
eslint_node_modules-1.6.0 vendor/node_modules/eslint/node_modules/inquirer/node_modules/cli-width/README.md