{"id":16239014,"url":"https://github.com/mkwtys/bundle-size","last_synced_at":"2025-03-15T10:31:09.161Z","repository":{"id":7922421,"uuid":"56875186","full_name":"mkwtys/bundle-size","owner":"mkwtys","description":"Show bundle file size of npm packages","archived":false,"fork":false,"pushed_at":"2025-02-02T09:15:22.000Z","size":1010,"stargazers_count":14,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T00:11:54.726Z","etag":null,"topics":["browserify","bundle","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/mkwtys.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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-04-22T17:57:18.000Z","updated_at":"2025-01-24T08:08:45.000Z","dependencies_parsed_at":"2024-02-05T01:47:06.731Z","dependency_job_id":"c1226031-14e5-4225-9c16-8c2dc52d9fd0","html_url":"https://github.com/mkwtys/bundle-size","commit_stats":{"total_commits":423,"total_committers":10,"mean_commits":42.3,"dds":0.6477541371158393,"last_synced_commit":"96fc51a2a88c6d7da2e7a0952a183b35b69d744a"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkwtys%2Fbundle-size","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkwtys%2Fbundle-size/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkwtys%2Fbundle-size/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkwtys%2Fbundle-size/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkwtys","download_url":"https://codeload.github.com/mkwtys/bundle-size/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243718847,"owners_count":20336590,"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":["browserify","bundle","size"],"created_at":"2024-10-10T13:42:03.374Z","updated_at":"2025-03-15T10:31:08.852Z","avatar_url":"https://github.com/mkwtys.png","language":"JavaScript","readme":"[![codecov](https://codecov.io/gh/mkwtys/bundle-size/branch/master/graph/badge.svg)](https://codecov.io/gh/mkwtys/bundle-size)\n\n# bundle-size\n\nShow bundle file size of npm packages\n\n## Installation\n\n```sh\n$ npm install bundle-size\n```\n\n## Usage\n\n### in CLI\n\n```sh\n$ bundle-size --help\nShow bundle file size of npm packages\n\nUsage\n  bundle-size [packages] [options]\n\nOptions\n  -e, --env         set NODE_ENV\n  -h, --help        show help\n  -r, --reporter    output style (json)\n  -v, --version     print version\n```\n\n#### Example:\n\n```sh\nbundle-size react\nbundle-size react --env development\nbundle-size react -e development -e production\n```\n\n### in Node.js module\n\n```js\nconst bundleSize = require('bundle-size');\n\nbundleSize(['react', 'redux'], { env: ['development', 'production'] }).then((results) =\u003e {\n  console.log(results);\n});\n\n// react@15.5.4, redux@3.6.0\n//\n// env          bundle  minify   gzip\n// --           178 kB  89.8 kB  28.2 kB\n// development  176 kB  84.2 kB  27.6 kB\n// production   176 kB  67 kB    21.2 kB\n```\n\n## License\n\nMIT © [mkwtys](https://github.com/mkwtys)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkwtys%2Fbundle-size","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkwtys%2Fbundle-size","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkwtys%2Fbundle-size/lists"}