Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Oct 17, 2024
1 parent 5b99d0e commit 51e3b2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,10 @@ Example:
```js
import { stringifyInfo } from '@discoveryjs/json-ext';
console.log(stringifyInfo({ test: true }));
console.log(stringifyInfo({ test: true }, null, 4));
// {
// bytes: 13, // Buffer.byteLength('{"test":true}')
// bytes: 20, // Buffer.byteLength('{\n "test": true\n}')
// spaceBytes: 7,
// circular: []
// }
```
Expand Down

0 comments on commit 51e3b2c

Please sign in to comment.