1.1.0 • Published 8 years ago

fslint v1.1.0

Weekly downloads
204
License
MIT
Repository
github
Last release
8 years ago

fslint

npm version Build Status Dependency Status devDependency Status

Lint for checking size of file.

Description

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

Demo

npm.io

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.

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

Then the result displayed on display.

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

Options

  Usage: fslint [options]

  Options:

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

Install

$ npm i -S fslint

Contribution

Bug reports and pull requests are welcome on GitHub at https://github.com/sota1235/fslint. 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

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago