<commit_before># viewport-list [![Build Status](https://travis-ci.org/kevva/viewport-list.svg?branch=master)](https://travis-ci.org/kevva/viewport-list)

> Return a list of devices and their viewports

## Install

```bash
$ npm install --save viewport-list
```

## Usage

```js
var viewport = require('viewport-list');

viewport('iphone4s', function (err, items) {
    console.log(items);
    // => [{ name: 'iphone4s', platform: 'iOS', os: '4.3.5', size: '320x480', release: '2011-10' }]
});
```

## CLI

You can also use it as a CLI app by installing it globally:

```bash
$ npm install --global viewport-list
```

### Usage

```bash
$ viewport --help

Usage
  $ viewport [device]
  $ cat <file> | viewport [device]

Example
  $ viewport
  $ viewport iphone4 iphone5
  $ cat devices.txt | viewport
```

## License

[MIT License](http://en.wikipedia.org/wiki/MIT_License) © [<NAME>](https://github.com/kevva)<commit_msg>Minor improvements<commit_after># viewport-list [![Build Status](https://travis-ci.org/kevva/viewport-list.svg?branch=master)](https://travis-ci.org/kevva/viewport-list)

> Return a list of devices and their viewports

## Install

```bash
$ npm install --save viewport-list
```

## Usage

```js
var viewport = require('viewport-list');

viewport('iphone4s', function (err, items) {
    console.log(items);
    // => [{ name: 'iphone4s', platform: 'iOS', os: '4.3.5', size: '320x480', release: '2011-10' }]
});
```

## CLI

```bash
$ npm install --global viewport-list
```

```bash
$ viewport --help

Usage
  $ viewport [device]
  $ cat <file> | viewport [device]

Example
  $ viewport
  $ viewport iphone4 iphone5
  $ cat devices.txt | viewport
```

## License

MIT © [<NAME>](https://github.com/kevva)
{'fraction_non_alphanumeric': 0.1886244921648288, 'fraction_numerical': 0.022054556006964595, 'mean_word_length': 4.04093567251462, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1000029', 'n_tokens_mistral': 682, 'n_tokens_neox': 628, 'n_words': 147}