Skip to content

Commit

Permalink
Revert "Updating README.md"
Browse files Browse the repository at this point in the history
This reverts commit d826155.
  • Loading branch information
avoidwork committed Sep 29, 2022
1 parent 71a6336 commit 87f817c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
filesize.js provides a simple way to get a human readable file size string from a number (float or integer) or string.

```javascript
import filesize from "filesize";
import {filesize} from "filesize";
filesize(265318, {base: 2, standard: "jedec"}); // "259.1 KB"
```

Expand Down Expand Up @@ -68,8 +68,8 @@ upon execution. This can be used to reduce `Object` creation if you call `filesi
in lexical scope.

```javascript
import filesize from "filesize";
const size = filesize.partial({base: 2, standard: "jedec"});
import {partial} from "filesize";
const size = partial({base: 2, standard: "jedec"});

size(265318); // "259.1 KB"
```
Expand Down

0 comments on commit 87f817c

Please sign in to comment.