Skip to content

Commit bc34e1d

Browse files
committed
Updating README.md
1 parent 6c22783 commit bc34e1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,15 +343,15 @@ filesize(265318, {standard: "jedec"}); // "259.1 KB"
343343
```javascript
344344
filesize(500, {bits: true}); // "4 kbit"
345345
filesize(1024, {bits: true}); // "8.19 kbit"
346-
filesize(1024, {bits: true, base: 2}); // "8 kibit"
346+
filesize(1024, {bits: true, base: 2}); // "8 Kibit"
347347
```
348348

349349
### Custom Formatting
350350

351351
```javascript
352352
// Full form units
353353
filesize(1024, {fullform: true}); // "1.02 kilobytes"
354-
filesize(1024, {base: 2, fullform: true}); // "1 kibibytes"
354+
filesize(1024, {base: 2, fullform: true}); // "1 kibibyte"
355355

356356
// Custom separators and spacing
357357
filesize(265318, {separator: ","}); // "265,32 kB"
@@ -386,7 +386,7 @@ filesize(1024, {exponent: 1}); // "1.02 kB"
386386
filesize(BigInt(1024), {standard: "jedec"}); // "1 KB"
387387

388388
// Extreme precision for very large numbers
389-
filesize(Math.pow(1024, 8), {precision: 3}); // "1208925819614629174706176 YB"
389+
filesize(Math.pow(1024, 8), {precision: 3}); // "1.21 YB"
390390
```
391391

392392
### Partial Application Patterns

0 commit comments

Comments
 (0)