{"name":"jmespath","description":"JMESPath implementation in javascript","version":"0.1.0","author":{"name":"James Saryerwinnie","email":"js@jamesls.com","url":"http://jamesls.com/"},"homepage":"https://github.com/jmespath/jmespath.js","contributors":[],"devDependencies":{"grunt":"^0.4.4","grunt-contrib-jshint":"^0.10.0","mocha":"^1.18.2","grunt-contrib-uglify":"^0.4.0","grunt-eslint":"^0.4.0"},"dependencies":{},"main":"jmespath.js","directories":{"test":"test"},"engines":{"node":">= 0.6.0"},"repository":{"type":"git","url":"git://github.com/jmespath/jmespath.js"},"bugs":{"url":"http://github.com/jmespath/jmespath.js/issues"},"licenses":[{"type":"Apache 2.0","url":"http://github.com/jmespath/jmespath.js/raw/master/LICENSE"}],"keywords":["jmespath","jsonpath","json","xpath"],"scripts":{},"_id":"jmespath@0.1.0","dist":{"shasum":"820e1c01fbe96609b986c3241ba68ed051737266","tarball":"http://registry-npm.ywwl.com/jmespath/download/jmespath-0.1.0.tgz","integrity":"sha512-Ese97WeYMsmG9qPsQ6lp2c2Iv/BWDuwakUFiZtX+Ng+BLqQ1wb6ngHwyktCPbrOWAg/Z8wamNlVScT1HCUjZ6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEMnOyYun6ic7+w4j7MXwnGF5FwTft0tbDxFgBCDpo5tAiBVZxbsqOakrR9h9qVQ7JtPoRVVBx2qFvuFyU9aXqsZuA=="}],"size":33667,"noattachment":false,"key":"/jmespath/-/jmespath-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jamesls","email":"js@jamesls.com"},"maintainers":[{"name":"jamesls","email":"js@jamesls.com"}],"readme":"# jmespath.js\n\n[![Build Status](https://travis-ci.org/jmespath/jmespath.js.png?branch=master)](https://travis-ci.org/jmespath/jmespath.js)\n\njmespath.js is a javascript implementation of JMESPath,\nwhich is a query language for JSON.  It will take a JSON\ndocument and transform it into another JSON document\nthrough a JMESPath expression.\n\nUsing jmespath.js is really easy.  There's a single function\nyou use, `jmespath.search`:\n\n\n```\n> var jmespath = require('jmespath');\n> jmespath.search({foo: {bar: {baz: [0, 1, 2, 3, 4]}}}, \"foo.bar.baz[2]\")\n2\n```\n\nIn the example we gave the ``search`` function input data of\n`{foo: {bar: {baz: [0, 1, 2, 3, 4]}}}` as well as the JMESPath\nexpression `foo.bar.baz[2]`, and the `search` function evaluated\nthe expression against the input data to produce the result ``2``.\n\nThe JMESPath language can do a lot more than select an element\nfrom a list.  Here are a few more examples:\n\n```\n> jmespath.search({foo: {bar: {baz: [0, 1, 2, 3, 4]}}}, \"foo.bar\")\n{ baz: [ 0, 1, 2, 3, 4 ] }\n\n> jmespath.search({\"foo\": [{\"first\": \"a\", \"last\": \"b\"},\n                           {\"first\": \"c\", \"last\": \"d\"}]},\n                  \"foo[*].first\")\n[ 'a', 'c' ]\n\n> jmespath.search({\"foo\": [{\"age\": 20}, {\"age\": 25},\n                           {\"age\": 30}, {\"age\": 35},\n                           {\"age\": 40}]},\n                  \"foo[?age > `30`]\")\n[ { age: 35 }, { age: 40 } ]\n```\n\n## More Resources\n\nThe example above only show a small amount of what\na JMESPath expression can do.  If you want to take a\ntour of the language, the *best* place to go is the\n[JMESPath Tutorial](http://jmespath.org/tutorial.html).\n\nOne of the best things about JMESPath is that it is\nimplemented in many different programming languages including\npython, ruby, php, lua, etc.  To see a complete list of libraries,\ncheck out the [JMESPath libraries page](http://jmespath.org/libraries.html).\n\nAnd finally, the full JMESPath specification can be found\non the [JMESPath site](http://jmespath.org/specification.html).\n","publish_time":1400511003149,"_cnpm_publish_time":1400511003149,"dist-tags":{"latest":"0.16.0"}}