{"id":13817187,"url":"https://github.com/chinanf-boy/packagephobia-cli","last_synced_at":"2025-03-20T14:30:40.531Z","repository":{"id":57140898,"uuid":"145997081","full_name":"chinanf-boy/packagephobia-cli","owner":"chinanf-boy","description":"code: \u003cpackagephobia-cli\u003e know the npm pkg size ✅","archived":false,"fork":false,"pushed_at":"2019-04-18T11:48:22.000Z","size":231,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T17:04:13.771Z","etag":null,"topics":["cli","pkg-size"],"latest_commit_sha":null,"homepage":"","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/chinanf-boy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-24T13:47:18.000Z","updated_at":"2019-11-26T10:14:06.000Z","dependencies_parsed_at":"2022-09-01T23:51:49.767Z","dependency_job_id":null,"html_url":"https://github.com/chinanf-boy/packagephobia-cli","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/chinanf-boy%2Fpackagephobia-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Fpackagephobia-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Fpackagephobia-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Fpackagephobia-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chinanf-boy","download_url":"https://codeload.github.com/chinanf-boy/packagephobia-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244629998,"owners_count":20484295,"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":["cli","pkg-size"],"created_at":"2024-08-04T06:00:36.416Z","updated_at":"2025-03-20T14:30:40.239Z","avatar_url":"https://github.com/chinanf-boy.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# packagephobia-cli [![Build Status](https://travis-ci.org/chinanf-boy/packagephobia-cli.svg?branch=master)](https://travis-ci.org/chinanf-boy/packagephobia-cli) [![install size](https://packagephobia.now.sh/badge?p=packagephobia-cli)](https://packagephobia.now.sh/result?p=packagephobia-cli)\n\n「 cli for [packagephobia](https://github.com/styfle/packagephobia) 」\n\n## Install\n\n```\nnpm i -g packagephobia-cli\n```\n\n\u003e or\n\n```\nnpx packagephobia-cli tap commander@2.15.0\n```\n\n\u003cimg width=\"66%\" src=\"./demo.gif\"\u003e\n\n## Usage\n\n```\npackagephobia-cli tap commander\n```\n\n```\n✔ tap@12.0.1\nPublish Size:108kB\nInstall Size:21.1MB\n✔ commander@2.17.1\nPublish Size:60.7kB\nInstall Size:60.7kB\n```\n\n### `-m` flag\n\nCan show you the pkg markdown style with install size.\n\n```bash\npackagephobia-cli express -m\n```\n\n```\n✔ express@4.16.4\nPublish Size:202 kB\nInstall Size:1.54 MB\n\n[![install size](https://packagephobia.now.sh/badge?p=express@4.16.4)](https://packagephobia.now.sh/result?p=express@4.16.4)\n```\n\nLike this: [![install size](https://packagephobia.now.sh/badge?p=express@4.16.4)](https://packagephobia.now.sh/result?p=express@4.16.4).\n\n## cli\n\n```\n  Usage: cli \u003cname\u003e [options]\n\n  show pkg size\n\n  Options:\n\n    -v, --version        output the version number\n    -D, --debug [debug]  debug: boolean/string  (default: false)\n    -m, --markdown       show the markdown link\n    -h, --help           output usage information\n```\n\n## concat\n\n- [two-log-min](https://github.com/chinanf-boy/two-log) just two log with ora/debug\n\n## License\n\nMIT © [chinanf-boy](http://llever.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinanf-boy%2Fpackagephobia-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchinanf-boy%2Fpackagephobia-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinanf-boy%2Fpackagephobia-cli/lists"}