{"name":"jmespath","description":"JMESPath implementation in javascript","version":"0.15.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.5","grunt-contrib-jshint":"^0.11.0","grunt-contrib-uglify":"^0.11.1","grunt-eslint":"^17.3.1","mocha":"^2.1.0"},"dependencies":{},"main":"jmespath.js","directories":{"test":"test"},"engines":{"node":">= 0.6.0"},"repository":{"type":"git","url":"git://github.com/jmespath/jmespath.js.git"},"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":{"test":"mocha test/"},"gitHead":"72a28807b164317f2c61f0e2372656c424bc4b6c","_id":"jmespath@0.15.0","_shasum":"a3f222a9aae9f966f5d27c796510e28091764217","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.8.0","_npmUser":{"name":"jamesls","email":"js@jamesls.com"},"dist":{"shasum":"a3f222a9aae9f966f5d27c796510e28091764217","tarball":"http://registry-npm.ywwl.com/jmespath/download/jmespath-0.15.0.tgz","integrity":"sha512-+kHj8HXArPfpPEKGLZ+kB5ONRTCiGQXo8RQYL0hH8t6pWXUBBK5KkkQmTNOwKK4LEsd0yTsgtjJVm4UBSZea4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDztQ9F+7lLAlkzCcrlJJ9FTt//1y8MsOfQkeezlRTcxQIhAM0/n0T9tPvtGY7Jt7/pOwd0aBLqTbcQP4sXDvdpGxEE"}],"size":40600,"noattachment":false,"key":"/jmespath/-/jmespath-0.15.0.tgz"},"maintainers":[{"name":"jamesls","email":"js@jamesls.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jmespath-0.15.0.tgz_1458924686313_0.6043944323901087"},"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":1458924686730,"_cnpm_publish_time":1458924686730,"dist-tags":{"latest":"0.16.0"}}