{"_id":"jmespath","_rev":"2519922","name":"jmespath","description":"JMESPath implementation in javascript","dist-tags":{"latest":"0.16.0"},"maintainers":[{"name":"jamesls","email":"js@jamesls.com"}],"time":{"modified":"2022-01-19T20:51:23.000Z","created":"2014-04-25T03:32:30.591Z","0.16.0":"2022-01-19T20:39:39.257Z","0.15.0":"2016-03-25T16:51:26.730Z","0.14.1":"2016-02-19T15:22:07.095Z","0.14.0":"2015-11-11T06:40:58.670Z","0.12.0":"2015-04-21T06:18:27.236Z","0.11.0":"2015-04-10T16:16:15.807Z","0.10.0":"2015-02-25T09:33:54.097Z","0.9.0":"2015-02-08T23:38:13.143Z","0.1.0":"2014-05-19T14:50:03.149Z","0.0.1":"2014-04-25T03:32:30.591Z"},"users":{"ab":true,"seldo":true,"tzmartin":true,"codefoster":true,"panlw":true,"kostya.fokin":true,"reccajo":true,"xiechao06":true},"author":{"name":"James Saryerwinnie","email":"js@jamesls.com","url":"http://jamesls.com/"},"repository":{"type":"git","url":"git://github.com/jmespath/jmespath.js.git"},"versions":{"0.16.0":{"name":"jmespath","description":"JMESPath implementation in javascript","version":"0.16.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"},"license":"Apache-2.0","keywords":["jmespath","jsonpath","json","xpath"],"scripts":{"test":"mocha test/"},"gitHead":"f5f85697449b517f3f41969192a1d9367c4a0465","_id":"jmespath@0.16.0","_nodeVersion":"14.17.0","_npmVersion":"7.24.0","dist":{"shasum":"b15b0a85dfd4d930d43e69ed605943c802785076","size":18110,"noattachment":false,"key":"/jmespath/-/jmespath-0.16.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/jmespath/download/jmespath-0.16.0.tgz"},"_npmUser":{"name":"jamesls","email":"js@jamesls.com"},"maintainers":[{"name":"jamesls","email":"js@jamesls.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jmespath_0.16.0_1642624779120_0.5162850801290044"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-19T20:40:11.332Z","publish_time":1642624779257,"_cnpm_publish_time":1642624779257},"0.15.0":{"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","size":40600,"noattachment":false,"key":"/jmespath/-/jmespath-0.15.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/jmespath/download/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"},"publish_time":1458924686730,"_cnpm_publish_time":1458924686730,"_hasShrinkwrap":false},"0.14.1":{"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","size":33553,"noattachment":false,"key":"/jmespath/-/jmespath-0.14.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/jmespath/download/jmespath-0.14.1.tgz"},"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/jmespath-0.14.1.tgz_1455895324259_0.2502717648167163"},"publish_time":1455895327095,"_cnpm_publish_time":1455895327095,"_hasShrinkwrap":false},"0.14.0":{"name":"jmespath","description":"JMESPath implementation in javascript","version":"0.14.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.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"},"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":"cd2c7562a19f85d38edde3a122df211ecbee317b","_id":"jmespath@0.14.0","_shasum":"af39d50e2e4fb7aec1d46d98ab8b94760461ee5d","_from":".","_npmVersion":"1.4.27","_npmUser":{"name":"jamesls","email":"js@jamesls.com"},"maintainers":[{"name":"jamesls","email":"js@jamesls.com"}],"dist":{"shasum":"af39d50e2e4fb7aec1d46d98ab8b94760461ee5d","size":33560,"noattachment":false,"key":"/jmespath/-/jmespath-0.14.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/jmespath/download/jmespath-0.14.0.tgz"},"publish_time":1447224058670,"_cnpm_publish_time":1447224058670,"_hasShrinkwrap":false},"0.12.0":{"name":"jmespath","description":"JMESPath implementation in javascript","version":"0.12.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.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"},"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":"dbbf2b4ffe91fe758291a8ced9d1e3e6200ff907","_id":"jmespath@0.12.0","_shasum":"3d067619264c5ffe912980170c754c7d74b63606","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.35","_npmUser":{"name":"jamesls","email":"js@jamesls.com"},"maintainers":[{"name":"jamesls","email":"js@jamesls.com"}],"dist":{"shasum":"3d067619264c5ffe912980170c754c7d74b63606","size":31938,"noattachment":false,"key":"/jmespath/-/jmespath-0.12.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/jmespath/download/jmespath-0.12.0.tgz"},"publish_time":1429597107236,"_cnpm_publish_time":1429597107236,"_hasShrinkwrap":false},"0.11.0":{"name":"jmespath","description":"JMESPath implementation in javascript","version":"0.11.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.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"},"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":"e68a9f3d1abfc48e35d05601bf9a9f442030f1bd","_id":"jmespath@0.11.0","_shasum":"12afe2cf857c26f4456bb9d7cd1caf2234ae7ab1","_from":".","_npmVersion":"1.4.27","_npmUser":{"name":"jamesls","email":"js@jamesls.com"},"maintainers":[{"name":"jamesls","email":"js@jamesls.com"}],"dist":{"shasum":"12afe2cf857c26f4456bb9d7cd1caf2234ae7ab1","size":31686,"noattachment":false,"key":"/jmespath/-/jmespath-0.11.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/jmespath/download/jmespath-0.11.0.tgz"},"publish_time":1428682575807,"_cnpm_publish_time":1428682575807,"_hasShrinkwrap":false},"0.10.0":{"name":"jmespath","description":"JMESPath implementation in javascript","version":"0.10.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.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"},"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":"1874cdad5ad078c30c3c68bf33c48b66d8f8ff5c","_id":"jmespath@0.10.0","_shasum":"7d55bc5badd773cd944497889fd5015f91271a4a","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.35","_npmUser":{"name":"jamesls","email":"js@jamesls.com"},"maintainers":[{"name":"jamesls","email":"js@jamesls.com"}],"dist":{"shasum":"7d55bc5badd773cd944497889fd5015f91271a4a","size":31301,"noattachment":false,"key":"/jmespath/-/jmespath-0.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/jmespath/download/jmespath-0.10.0.tgz"},"publish_time":1424856834097,"_cnpm_publish_time":1424856834097,"_hasShrinkwrap":false},"0.9.0":{"name":"jmespath","description":"JMESPath implementation in javascript","version":"0.9.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":{},"gitHead":"7c473e40368957227f7de204012d03ffd9b424bb","_id":"jmespath@0.9.0","_shasum":"4f0c114fbef0f4806b2de1c53fbda31377afb0d2","_from":".","_npmVersion":"1.4.27","_npmUser":{"name":"jamesls","email":"js@jamesls.com"},"maintainers":[{"name":"jamesls","email":"js@jamesls.com"}],"dist":{"shasum":"4f0c114fbef0f4806b2de1c53fbda31377afb0d2","size":30891,"noattachment":false,"key":"/jmespath/-/jmespath-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/jmespath/download/jmespath-0.9.0.tgz"},"publish_time":1423438693143,"_cnpm_publish_time":1423438693143,"_hasShrinkwrap":false},"0.1.0":{"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","size":33667,"noattachment":false,"key":"/jmespath/-/jmespath-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/jmespath/download/jmespath-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jamesls","email":"js@jamesls.com"},"maintainers":[{"name":"jamesls","email":"js@jamesls.com"}],"publish_time":1400511003149,"_cnpm_publish_time":1400511003149,"_hasShrinkwrap":false},"0.0.1":{"name":"jmespath","description":"JMESPath implementation in javascript","version":"0.0.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.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.0.1","dist":{"shasum":"f7ca3fadea84ec8de778821159ce155790a5bc00","size":22527,"noattachment":false,"key":"/jmespath/-/jmespath-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/jmespath/download/jmespath-0.0.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jamesls","email":"js@jamesls.com"},"maintainers":[{"name":"jamesls","email":"js@jamesls.com"}],"publish_time":1398396750591,"_cnpm_publish_time":1398396750591,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/jmespath/jmespath.js","bugs":{"url":"http://github.com/jmespath/jmespath.js/issues"},"license":"Apache-2.0"}