fslint
Lint for checking file size.
Last updated 4 years ago by sota1235 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fslint 
SYNC missed versions from official npm registry.

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

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

Current Tags

  • 1.1.0                                ...           latest (4 years ago)

7 Versions

  • 1.1.0                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |