{"id":18443518,"url":"https://github.com/sota1235/fslint","last_synced_at":"2025-04-07T23:32:18.430Z","repository":{"id":57242462,"uuid":"58696385","full_name":"sota1235/fslint","owner":"sota1235","description":"Lint for checking file size.","archived":false,"fork":false,"pushed_at":"2023-08-28T03:27:24.000Z","size":35,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-26T03:59:22.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/fslint","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sota1235.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-13T03:31:13.000Z","updated_at":"2018-09-08T09:01:56.000Z","dependencies_parsed_at":"2024-06-21T04:21:05.114Z","dependency_job_id":"3168c893-d965-4940-af95-8f49332feb82","html_url":"https://github.com/sota1235/fslint","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sota1235%2Ffslint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sota1235%2Ffslint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sota1235%2Ffslint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sota1235%2Ffslint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sota1235","download_url":"https://codeload.github.com/sota1235/fslint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223297246,"owners_count":17121977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T06:48:28.476Z","updated_at":"2024-11-06T06:48:29.128Z","avatar_url":"https://github.com/sota1235.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"fslint\n====\n\n[![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) [![Dependency Status](https://david-dm.org/sota1235/fslint.svg)](https://david-dm.org/sota1235/fslint) [![devDependency Status](https://david-dm.org/sota1235/fslint/dev-status.svg)](https://david-dm.org/sota1235/fslint#info=devDependencies)\n\nLint for checking size of file.\n\n### Description\n\nIf you want to check file size, use this package.\n\n### Demo\n\n![](https://i.gyazo.com/5168d4433fe35b09fddeb7ca7a1f3cb9.gif)\n\n### Requirement\n\n- npm\n- node.js\n\n### Usage\n\nYou can specify file patter and limit of file size.\n\nFor example, if you want to check whether `assets/js/**/*.js` exceeds the 1024Byte,\nenter this.\n\n```shell\n$ fslint --files=assets/js/**/*.js --limit=1024\n```\n\nThen the result displayed on display.\n\n```shell\n[OK] assets/js/hoge/fuga.js 500 B\n[NG] assets/js/moge.js 2020 MB\n...etc\n```\n\n### Options\n\n```\n  Usage: fslint [options]\n\n  Options:\n\n    --help                  output usage information\n    --files \u003ctarget\u003e        target files for lint\n    --limit \u003cByte\u003e          limit size\n    --limit-kb \u003cKilo Byte\u003e  limit size, specify with kilo byte\n    --limit-mb \u003cMega Byte\u003e  limit size, specify with mega byte\n```\n\n### Install\n\n```shell\n$ npm i -S fslint\n```\n\n### Contribution\n\nBug 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.\n\n### Licence\n\nThis software is released under the MIT License, see LICENSE.txt.\n\n## Author\n\n[@sota1235](https://github.com/sota1235)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsota1235%2Ffslint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsota1235%2Ffslint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsota1235%2Ffslint/lists"}