Update Readme

This commit is contained in:
Peter Damoc 2022-08-15 19:13:05 +03:00
parent 2f288b4516
commit 9adfbbfa83

View File

@ -1,10 +1,37 @@
# elmjs-inspect # elmjs-inspect
## Running it ## Build it
```sh ```sh
npm build npm i
node dist/index.js analyze <filename> 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 ## TODO