Skip to content

Commit eeff0c4

Browse files
author
Mike Brevoort
committed
small README change
1 parent 6772d8d commit eeff0c4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
1-
To install
1+
Install
2+
=======
23

34
npm install JSONPath
45

5-
To evaluate,
6+
Evaluate
7+
========
68

79
var jsonpath = require('JSONPath');
810
jsonpath.eval(obj, path);
911

12+
Or more concisely:
13+
14+
var jsonpath = require('JSONPath').eval;
15+
jsonpath(obj, path);
16+
1017
Examples
1118
========
1219

0 commit comments

Comments
 (0)