Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Updated readme about the new functionality
  • Loading branch information
KroshSputnik committed Jan 31, 2025
1 parent 5518769 commit 50479be
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,16 @@ provided locals:

Display mode. `tiles` and `details` are available. Defaults to `tiles`.

##### simplifyFileSize

Configures the unit in the size. Defaults to `false`.

By default, the size is display only in bytes.

Set it to `true` and it will automatically simplify the size to the highest size
from the following
- KB, MB, GB, TB PB

## Examples

### Serve directory indexes with vanilla node.js http server
Expand Down

0 comments on commit 50479be

Please sign in to comment.