<commit_before>fslint
====

[![npm version](https://badge.fury.io/js/fslint.svg)](https://badge.fury.io/js/fslint)

Lint for checking size of file.

### Description

If you want to check file size, use this package.

### Demo

![](https://i.gyazo.com/5168d4433fe35b09fddeb7ca7a1f3cb9.gif)

### Requirement

- npm
- node.js

### Usage

You can specify file patter and limit of file size.

For example, if you want to check whether `assets/js/**/*.js` exceeds the 1024Byte,
enter this.

```shell
$ fslint --files=assets/js/**/*.js --limit=1024
```

Then the result displayed on display.

```shell
[OK] assets/js/hoge/fuga.js 500 B
[NG] assets/js/moge.js 2020 MB
...etc
```

### Options

```
  Usage: file-size-checker [options]

  Options:

    --help                output usage information
    --files <target>      target files for lint
    -l, --limit <Byte>    limit size
```

### Install

```shell
$ npm i -S file-size-lint
```

### Contribution

Bug reports and pull requests are welcome on GitHub at https://github.com/sota1235/file-size-lint. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

### Licence

This software is released under the MIT License, see LICENSE.txt.

## Author

[@sota1235](https://github.com/sota1235)
<commit_msg>modify: update README(add badge of travis CI)<commit_after>fslint
====

[![npm version](https://badge.fury.io/js/fslint.svg)](https://badge.fury.io/js/fslint) [![Build Status](https://travis-ci.org/sota1235/fslint.svg?branch=master)](https://travis-ci.org/sota1235/fslint)

Lint for checking size of file.

### Description

If you want to check file size, use this package.

### Demo

![](https://i.gyazo.com/5168d4433fe35b09fddeb7ca7a1f3cb9.gif)

### Requirement

- npm
- node.js

### Usage

You can specify file patter and limit of file size.

For example, if you want to check whether `assets/js/**/*.js` exceeds the 1024Byte,
enter this.

```shell
$ fslint --files=assets/js/**/*.js --limit=1024
```

Then the result displayed on display.

```shell
[OK] assets/js/hoge/fuga.js 500 B
[NG] assets/js/moge.js 2020 MB
...etc
```

### Options

```
  Usage: file-size-checker [options]

  Options:

    --help                output usage information
    --files <target>      target files for lint
    -l, --limit <Byte>    limit size
```

### Install

```shell
$ npm i -S file-size-lint
```

### Contribution

Bug reports and pull requests are welcome on GitHub at https://github.com/sota1235/file-size-lint. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

### Licence

This software is released under the MIT License, see LICENSE.txt.

## Author

[@sota1235](https://github.com/sota1235)

{'fraction_non_alphanumeric': 0.14190609670637702, 'fraction_numerical': 0.03363700070077085, 'mean_word_length': 3.503154574132492, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 12, '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': '1230424', 'n_tokens_mistral': 1068, 'n_tokens_neox': 955, 'n_words': 300}