Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added options
  • Loading branch information
jachwe authored May 14, 2024
1 parent 028b3ae commit c00c27c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/ngx-filesize/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ And use the pipe in your templates:
```handlebars
{{ 123 | filesize }}
```

optionally add options to filesize e.g.
```handlebars
{{ 123 | filesize: {base: 2} }}
```
(this would transform 1024 to 1 like for bytes)

0 comments on commit c00c27c

Please sign in to comment.