{"name":"jmespath","description":"JMESPath implementation in javascript","version":"0.14.1","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.11.0","mocha":"^2.1.0","grunt-contrib-uglify":"^0.7.0","grunt-eslint":"^6.0.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":"f3d936f1c599c5222c88825a35b728cd0394729c","_id":"jmespath@0.14.1","_shasum":"21d063a25c8ce4e6a0ebfc500b990c5cf0c34ece","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"jamesls","email":"js@jamesls.com"},"maintainers":[{"name":"jamesls","email":"js@jamesls.com"}],"dist":{"shasum":"21d063a25c8ce4e6a0ebfc500b990c5cf0c34ece","tarball":"http://registry-npm.ywwl.com/jmespath/download/jmespath-0.14.1.tgz","integrity":"sha512-9ijVtoc7bndLIBRQwnfqxSB1WJHiOFTWO/vkM0+dApsTY2A+M/twUNwTRskn3HArJ25x7mzB8/Nt3haBVbTo6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBe62nTese6HCvFXpeP0SPVun361NHsPJQHEEae0OLL5AiB2E0xKW6BQQ2Y1AytOvM+LByIno0TdTqYFPbs5qbxA9w=="}],"size":33553,"noattachment":false,"key":"/jmespath/-/jmespath-0.14.1.tgz"},"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/jmespath-0.14.1.tgz_1455895324259_0.2502717648167163"},"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":1455895327095,"_cnpm_publish_time":1455895327095,"dist-tags":{"latest":"0.16.0"}}