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-16 16:56:36 +02:00
src Add support for summary 2022-08-15 19:10:11 +03:00
.gitignore Ignore build files 2022-08-16 16:56:15 +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
README.md Fix Old name in Readme 2022-08-15 19:22:00 +03:00
tsconfig.json 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-inspect elm.js

Size contribution by modules

elmjs-inspect --summary=module elm.js

Size contribution by package

elmjs-inspect --summary=package elm.js

Size contribution of only the project's modules

elmjs-inspect --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