Skip to content
Browse files

small README change

  • Loading branch information...
1 parent 6772d8d commit eeff0c4ffce829b3830e4c20f75608f74bac8f30 Mike Brevoort committed Sep 18, 2011
Showing with 9 additions and 2 deletions.
  1. +9 −2 README.md
View
11 README.md
@@ -1,12 +1,19 @@
-To install
+Install
+=======
npm install JSONPath
-To evaluate,
+Evaluate
+========
var jsonpath = require('JSONPath');
jsonpath.eval(obj, path);
+Or more concisely:
+
+ var jsonpath = require('JSONPath').eval;
+ jsonpath(obj, path);
+
Examples
========

0 comments on commit eeff0c4

Please sign in to comment.
Something went wrong with that request. Please try again.