{"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":{"integrity":"sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==","shasum":"b15b0a85dfd4d930d43e69ed605943c802785076","tarball":"http://registry-npm.ywwl.com/jmespath/download/jmespath-0.16.0.tgz","fileCount":7,"unpackedSize":81076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6HcLCRA9TVsSAnZWagAAUG4P/0UHfXOy7GzNPfOhDDKs\n77beHvA5Deg/mqxtcKCL3KdjChatD05Ra7wusC+l4vLadUhmJgiQ6rws9eJe\nfuSABmexv/qk/fbdl8Yh4jz9h/Ue0+l6BVGVqD4iDPyDfpp3diq58SicjkXS\ndwFy8J6Ig94ta7CoEhhS66t+GYFLV3ETc2MNvYPJIvZ0pTzHGbKsycinu4uX\n/pasDJviYmAgkFz97dSSgZPxEhQaAwjSzAHaOTct3XQKkfpwuWiSt7eCDh6X\nfCdQtE02DUJqCGini78BIzdm7zJ066gWLl76bEbBo0HiLmdVdxieJnSfuqKk\nl/lbwMI6Xv/I7UHMRiCNmPCxhLMWeefeD6Ml7vsYhY9sM6iLAvPGU0pVCCmA\nUI3mtYpTJVcl520LXTGxhUzSbL2uQmaVyM41OATgy+QdMp+mPAlxE4jtDsOa\nvItEhnpcNt50cnAzP73M7fgnZTvjRTYlcRHN6JmINatX4GVon/Xh8coYIZkd\nrJGedTOKK858bOd2DZ1xCbycdZk5yDrc9eepX8KVG+JjZD3rxzDWLjbl9GV6\n7I8L0Rt132NwmoR6vXXvF08hKsRIP0gtz3P0G9JpGBEm6dwV4d6oTBlEJx2q\nsux11c/dxLloljvsVQNuywn5+xkNOGmZUPuBCuDdnmvBKqdWyuhu8MpoNv3V\nTZ7o\r\n=I5EG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC9l25h0p8SDGpFvCDXyVBmLKyW9VYzEYv2fLPtzgiQ+AiEA3/mTVQsewGhhz5WphSMlj6bw4pS4raveaRS1TlLoteg="}],"size":18110,"noattachment":false,"key":"/jmespath/-/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,"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":1642624779257,"_cnpm_publish_time":1642624779257,"dist-tags":{"latest":"0.16.0"}}