Skip to content

Commit 61376ce

Browse files
committed
readme: update example
1 parent c6cdfb1 commit 61376ce

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ API
3333

3434
```js
3535
var jsonfile = require('jsonfile')
36-
var util = require('util')
37-
3836
var file = '/tmp/data.json'
3937
jsonfile.readFile(file, function(err, obj) {
4038
console.dir(obj)
@@ -49,8 +47,6 @@ to throw on invalid JSON. Will return `null` instead. Defaults to `true`.
4947

5048
```js
5149
var jsonfile = require('jsonfile')
52-
var util = require('util')
53-
5450
var file = '/tmp/data.json'
5551

5652
console.dir(jsonfile.readFileSync(file))

0 commit comments

Comments
 (0)