Why is your elm.js file so big? Is Elm's dead code elimination on a particular function not working as you expected? What libraries cost your users bandwidth? Analyse your elm.js file size with this tool.
Go to file
2022-08-15 19:13:05 +03:00
bin Add support for summary 2022-08-15 19:10:11 +03:00
src Add support for summary 2022-08-15 19:10:11 +03:00
.gitignore 🎉 Initial Commit 2020-04-03 23:22:32 +02:00
LICENSE 📚 Add LICENSE 2022-08-15 16:39:55 +02:00
package-lock.json Add support for summary 2022-08-15 19:10:11 +03:00
package.json Add support for summary 2022-08-15 19:10:11 +03:00
pnpm-lock.yaml Use commander to build a minimal CLI 2022-05-10 19:11:40 +02:00
README.md Update Readme 2022-08-15 19:13:05 +03:00
tsconfig.json Add support for summary 2022-08-15 19:10:11 +03:00
yarn.lock Add support for summary 2022-08-15 19:10:11 +03:00

elmjs-inspect

Build it

npm i
npm run build
npm link

Run it

Size contribution of each function

elmjs-size elm.js

Size contribution by modules

elmjs-size --summary=module elm.js

Size contribution by package

elmjs-size --summary=package elm.js

Size contribution of only the project's modules

elmjs-size --summary=project elm.js

TODO

  • Allow giving .js file by options or otherwise by file input (inquirer.js?)
  • Show results by package/module/file level
  • NPM Publish