{"id":13582898,"url":"https://github.com/delucis/filesize-cli","last_synced_at":"2025-03-12T13:31:45.412Z","repository":{"id":50160725,"uuid":"95483325","full_name":"delucis/filesize-cli","owner":"delucis","description":":straight_ruler: Command line utility that prints human-friendly file sizes.","archived":true,"fork":false,"pushed_at":"2024-09-11T10:11:37.000Z","size":155,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T12:15:20.875Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@delucis/filesize-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/delucis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-06-26T19:45:40.000Z","updated_at":"2025-03-12T12:14:43.000Z","dependencies_parsed_at":"2024-10-03T21:20:52.780Z","dependency_job_id":null,"html_url":"https://github.com/delucis/filesize-cli","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"315b9fb610365cafdb47777b7bfab1fe068204b9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delucis%2Ffilesize-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delucis%2Ffilesize-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delucis%2Ffilesize-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delucis%2Ffilesize-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delucis","download_url":"https://codeload.github.com/delucis/filesize-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243213981,"owners_count":20254902,"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-08-01T15:03:06.409Z","updated_at":"2025-03-12T13:31:45.126Z","avatar_url":"https://github.com/delucis.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# @delucis/filesize-cli\n\n[![Build Status](https://travis-ci.org/delucis/filesize-cli.svg?branch=master)](https://travis-ci.org/delucis/filesize-cli) [![Coverage Status](https://coveralls.io/repos/github/delucis/filesize-cli/badge.svg?branch=master)](https://coveralls.io/github/delucis/filesize-cli?branch=master)\n\nA minimal utility to print human-friendly file sizes from the command line. Provides an interface for [`@delucis/filesize`][9c3b46d7], which in turn wraps [`filesize`][cae92b29].\n\n  [cae92b29]: https://www.npmjs.com/package/filesize \"filesize package on npmjs.com\"\n  [9c3b46d7]: https://www.npmjs.com/package/@delucis/filesize \"@delucis/filesize package on npmjs.com\"\n\n\n\n## Installation\n\n```sh\n# install for global use\nnpm install -g @delucis/filesize-cli\n```\n\n\n\n## Usage\n\n```sh\nfilesize -v           # print version number to the terminal window\nfilesize -h           # show detailed help in the terminal window\nfilesize my-file.txt  # print file size using default options\n```\n\n### Options\n\nMost [options that can be passed to `filesize`][19e57b62] can be passed via the command line.\n\n  [19e57b62]: https://www.npmjs.com/package/filesize#optional-settings \"filesize package documentation on npmjs.com\"\n\n\noption                      | effect\n:---------------------------|:---------------------------------------------------------------------------------------------------\n`--base=\u003cnumber\u003e`           | Number base of file size, default is `2`\n`-b`, `--bits`              | Enables bit sizes, default is `false`\n`-e`, `--exponent=\u003cnumber\u003e` | Specifies the symbol via exponent, e.g. `2` is `MB` for base 2, default is `-1`\n`-f`, `--fullform`          | Enables full form of unit of measure, default is `false`\n`-h`, `--help`              | Display detailed help text\n`-o`, `--output=\u003cstring\u003e`   | Output of function (`array`, `exponent`, `object`, or `string`), default is `string`\n`-r`, `--round=\u003cnumber\u003e`    | Decimal place, default is `2`\n`--spacer=\u003cstring\u003e`         | Character between the result and its suffix, default is `\" \"`\n`--standard=\u003cstring\u003e`       | Standard unit of measure, can be `iec` or `jedec`, default is `jedec`; can be overruled by `--base`\n`-u`, `--unix`              | Enables unix style human readable output, e.g `ls -lh`, default is `false`\n`-v`, `--version`           | Print filesize’s version number\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelucis%2Ffilesize-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelucis%2Ffilesize-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelucis%2Ffilesize-cli/lists"}