{"_id":"@jmespath-community/jmespath","_rev":"8-420649a6d63a85c23117862cd22b5f4b","name":"@jmespath-community/jmespath","dist-tags":{"latest":"1.3.0"},"versions":{"1.1.0":{"name":"@jmespath-community/jmespath","version":"1.1.0","keywords":["jmespath","jsonpath","query","json","jq","xpath"],"author":{"url":"https://jmespath.site","name":"JMESPath Community","email":"springcomp@users.noreply.github.com"},"license":"MPL-2.0","_id":"@jmespath-community/jmespath@1.1.0","maintainers":[{"name":"springcomp","email":"uftajwna@masked-emails.me"}],"homepage":"https://github.com/nanoporetech/jmespath-ts#readme","bugs":{"url":"https://github.com/nanoporetech/jmespath-ts/issues"},"dist":{"shasum":"570b1b26cf29c2b0bd60db4b86532edacbc9f03b","tarball":"https://registry.npmjs.org/@jmespath-community/jmespath/-/jmespath-1.1.0.tgz","fileCount":48,"integrity":"sha512-Lhzj7uRAGyBFqOargspwLRZowIJNjY/DwqEgad7NO/oWCkIgCJ7j7qjC83SybUBn04DZ2pUYN1Ox6p6yGz5tRA==","signatures":[{"sig":"MEUCIQCXv2wpoWk/rdTJZICEM3wTWv/LIhi1zHYxG0US3hWQYQIga+YU1VYjwJNWa915niTLNj3dvcX1ihdYhzbMds5XpGA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":708250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEjL4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmofwQ/8Dnm4dKQYALg5P+uKljz4ONsdjJ/+u9Vsoov4AILvddQJCUgF\r\nx6ioCu/J2YpeHTtpFpHC9WEnMBKR8PptlE/II08agyRZppnVlnbVFmNGzWct\r\nX8oHJ+OeShrVoN8LySDhF54lEfsRsWL7V1n/EmPc1HhA73tHhpteJThVX40V\r\nGRixxDM4lwm60mmNbs6BBbAItrskzQHzBzZmVx3IbR+04BcfnzhTSHV14uc2\r\nu84yyWaZlQ6Vt6Pk+6kOC4IPiD6QcNVE+y94Yu0vFk5HT61wq/8+9ARgHjVc\r\nwY++CHr9oP+y17ScgCN+IcfH8kPK6As8Jc4TNHjiehByCUc04SZ3l8t04TPa\r\nMJS0DG4BK6PoZgGcnDMvvQA8d8oObsJKTKyJeuol3rZ6zTuedMb9tp8RZnMv\r\nGaVEJodZy/EZoQfaa1lQEAqurojJiktBHuZXOFsivtnDCzkLFHQhWH9Ed8RH\r\n6K0hiFHvBJRmRMv5S/ua3F5ENVWk5fge9sKDw/pTOJr183ZxmwFuh9ZwkFRf\r\n1Gm7tNx7Zz1tAb5SvZrFdKXeKuuNYwUQ83GK+JKgAEnKoeriCLklboa0gsVJ\r\niZi9G/bqXFwK3BfLPVhQqhXwyX8zVD4SkPEySKQB5ZYNZaMhPkUKWJ58fWOK\r\nhJb36J3m0vk+x2bASoARG4PiTd15vXxV6b8=\r\n=ZrIS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/jmespath.umd.js","_from":"file:jmespath-community-jmespath-1.1.0.tgz","types":"dist/types/index.d.ts","module":"dist/jmespath.esm.js","engines":{"node":">=14.0.0"},"gitHead":"18b36f2d65d481f0c7e86e59c35721df48defe7b","typings":"dist/types/index.d.ts","_npmUser":{"name":"springcomp","email":"uftajwna@masked-emails.me"},"_resolved":"/home/springcomp/projects/jp/jmespath-ts/jmespath-community-jmespath-1.1.0.tgz","_integrity":"sha512-Lhzj7uRAGyBFqOargspwLRZowIJNjY/DwqEgad7NO/oWCkIgCJ7j7qjC83SybUBn04DZ2pUYN1Ox6p6yGz5tRA==","repository":{"url":"git://github.com/jmespath-community/typescript-jmespath.git","type":"git"},"_npmVersion":"9.6.1","description":"Typescript implementation of the JMESPath Community specification","directories":{},"_nodeVersion":"16.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jmespath_1.1.0_1678914295897_0.7379040511535855","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@jmespath-community/jmespath","version":"1.1.1","keywords":["jmespath","jsonpath","query","json","jq","xpath"],"author":{"url":"https://jmespath.site","name":"JMESPath Community","email":"springcomp@users.noreply.github.com"},"license":"MPL-2.0","_id":"@jmespath-community/jmespath@1.1.1","maintainers":[{"name":"springcomp","email":"uftajwna@masked-emails.me"}],"homepage":"https://github.com/nanoporetech/jmespath-ts#readme","bugs":{"url":"https://github.com/nanoporetech/jmespath-ts/issues"},"dist":{"shasum":"5ad50ae5984d6fff4641ece092a7b7018c0ca5cb","tarball":"https://registry.npmjs.org/@jmespath-community/jmespath/-/jmespath-1.1.1.tgz","fileCount":48,"integrity":"sha512-zlzbl/725aUOR+jDAT0uABE9F9NpRit4aUhbmyK1EuVZ6+PFhb76P3Py3q4HYY7xgUBaeHTmUmU2yrxXFgMrRA==","signatures":[{"sig":"MEUCIC/Bckwq8Rxp9Qy6FOY8k08Eezm4l4ntzfDHL5Tfup+NAiEA7+Ygu4mhMXzsx4SaueYpGwLlsYPa+0QgcyyoQmUH97Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":729367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMDVxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWrw/7B9KtS3m8Xw426plJy+4gF5GfsVe+3sHgp3OUX2XpG0mXx3wL\r\naUpQSZeXvhZ+z0v8Oc9Yyc1iJn+tEH/tvXuP5FwevQxNq4Ux2/XVkcuCbRKp\r\nfRcKV0FCso168evNKnPVv1yEuscErzRwZdGMqGhVI0Y/OQ0t8ekC9tXHeVmO\r\nW8Ng3OxcBC4sd7HKqsySk5yWPwIVGWAKYWhge4TiTC+lRYwIlkD6+J9PoNjW\r\n2oK6BAEyh0tfMwkyIOd4XO63v8YVDuiKNedGa1VNIjGdqdNWmlYuNNzT+WVp\r\nAbsqEYcjlDU/bRfDsa/p4XwRZ4Rg8AyohX4Was+GboMT1xJve4gIbhJ8SOEZ\r\nGW7ZLyKu/qrv9eM7XMYcgZGR3fNVKJ0/h08T2Cxe/CBmeiBLtL/G/3mF0TTI\r\nynYkixJQc+/IBoRgljwLxKzjN6jJUQKSgJHMu7lD8ac8i5tOxbh9XqnD8MfT\r\nDEafqoNxP4GOJAxL4DZzNek3mteEKOb0bQNaVt97vg15pXnUbfUTIXSZqNhQ\r\nK37UQwNeq9s6ctwFi111M65PfdDOVHb7xvu5ujuYn8JpzIxQu0M46IDwt/5i\r\n2bL54w7c6rqCCKvr4jbjbEV6Mbj0iux3ci19FDT5RP92LQQZ8ZIRqce+XDld\r\nEewc+Wm91ZsktipvYszaVOuK7L09iaQGn+Y=\r\n=TUYc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/jmespath.umd.js","_from":"file:jmespath-community-jmespath-1.1.1.tgz","types":"dist/types/index.d.ts","module":"dist/jmespath.esm.js","engines":{"node":">=14.0.0"},"gitHead":"422e0e9ca55d8cf72ad8980be013ca0c998cbf7e","typings":"dist/types/index.d.ts","_npmUser":{"name":"springcomp","email":"uftajwna@masked-emails.me"},"_resolved":"/home/springcomp/projects/jp/typescript/jmespath-community-jmespath-1.1.1.tgz","_integrity":"sha512-zlzbl/725aUOR+jDAT0uABE9F9NpRit4aUhbmyK1EuVZ6+PFhb76P3Py3q4HYY7xgUBaeHTmUmU2yrxXFgMrRA==","repository":{"url":"git://github.com/jmespath-community/typescript-jmespath.git","type":"git"},"_npmVersion":"8.19.4","description":"Typescript implementation of the JMESPath Community specification","directories":{},"_nodeVersion":"16.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jmespath_1.1.1_1680881009719_0.9325749297842545","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@jmespath-community/jmespath","version":"1.1.2","keywords":["jmespath","jsonpath","query","json","jq","xpath"],"author":{"url":"https://jmespath.site","name":"JMESPath Community","email":"springcomp@users.noreply.github.com"},"license":"MPL-2.0","_id":"@jmespath-community/jmespath@1.1.2","maintainers":[{"name":"springcomp","email":"uftajwna@masked-emails.me"}],"homepage":"https://github.com/nanoporetech/jmespath-ts#readme","bugs":{"url":"https://github.com/nanoporetech/jmespath-ts/issues"},"dist":{"shasum":"2c8d8b94760415b5e5b197f7ea1d79d75c3bd49a","tarball":"https://registry.npmjs.org/@jmespath-community/jmespath/-/jmespath-1.1.2.tgz","fileCount":48,"integrity":"sha512-lX1R9g2YkBP6nYjFA4UwZmIadv/imI3QWtPXNGqOlJYaK0XKMOuoITV6IsFWDYIA4itKVprljPetY2wx7CefQQ==","signatures":[{"sig":"MEUCIQClgUmgciJeWWQdd0CWoRc+leOZTWZT0Plymv7kPXwTHAIgHUAhMuwH3scLS7ncATMEowW4PthA9mgK7aCD/ICQCHw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":730303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkT1L9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjmA/9GsGl/mS0K5Rw68EtR0Mg2dUqeoNqCKbzh5FNusainG2ASqVG\r\nf9XPe2mSR3BcEzcHliEbBKgDtgAiLnaBVMXpwtpjC/Gq159LGahms0hW2BIe\r\nNDe1c7Ky5sA0cBEs9OMjntqHkWGc3+s+zfCyC15cpmD6RZjghnN+cxZCDuV9\r\nMWCpziwOpE5YHfb6SK2x9FjACELF4xmSmypWnNT8+cPsg1Juoit6v0ya+YgX\r\nWo1EJ/lLtyL+EmSOrKfv2Ce3kNyxOa3AL8EANsWKSvvMo9mWNN0Fzct0+2P1\r\nHqaiSb2CpPMe42TfruVj8uvEaWGMJO25GMCllCFux+QAVUCNxV6MbrwAdlOX\r\nEpqREn1e7bBBnZwiq9WPtquTCXayXz32eNcZSClRMKs7d7mIssOLpAh0ew2C\r\nvWh2AkNinZuum2AwG61YddT4Ct3ZGcjg/f3Ttv+6YlAMI16A8c427zk104t7\r\n7avnszdRwglY7zX9fNdfC1LwGJ7emyOynfeqTZWBfI+sm/IrcCZhpImeTnb/\r\nWckV1Vc+AYX21HxmyC/eP6gM7jNWubeFdzbwLS9gZtHnrMQ5cuTWg47Ogc2H\r\n1DrEo2KjUBXvwD4RfUp/s4etAYljcQgfnkBjMDH0DlAB0noGzmhP5YUcD3kj\r\nhAcfZn8zOGEEU0tJlqdObJ2V/rSCe/tf4/c=\r\n=Pg4h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/jmespath.umd.js","_from":"file:jmespath-community-jmespath-1.1.2.tgz","types":"dist/types/index.d.ts","module":"dist/jmespath.esm.js","engines":{"node":">=14.0.0"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"springcomp","email":"uftajwna@masked-emails.me"},"_resolved":"/home/springcomp/projects/jp/typescript/jmespath-community-jmespath-1.1.2.tgz","_integrity":"sha512-lX1R9g2YkBP6nYjFA4UwZmIadv/imI3QWtPXNGqOlJYaK0XKMOuoITV6IsFWDYIA4itKVprljPetY2wx7CefQQ==","repository":{"url":"git://github.com/jmespath-community/typescript-jmespath.git","type":"git"},"_npmVersion":"9.6.3","description":"Typescript implementation of the JMESPath Community specification","directories":{},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jmespath_1.1.2_1682920189769_0.9553994496857052","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@jmespath-community/jmespath","version":"1.1.3","keywords":["jmespath","jsonpath","query","json","jq","xpath"],"author":{"url":"https://jmespath.site","name":"JMESPath Community","email":"springcomp@users.noreply.github.com"},"license":"MPL-2.0","_id":"@jmespath-community/jmespath@1.1.3","maintainers":[{"name":"springcomp","email":"uftajwna@masked-emails.me"}],"homepage":"https://github.com/nanoporetech/jmespath-ts#readme","bugs":{"url":"https://github.com/nanoporetech/jmespath-ts/issues"},"dist":{"shasum":"ec8859f3fcf1a19513126dfac7ff72866e38a032","tarball":"https://registry.npmjs.org/@jmespath-community/jmespath/-/jmespath-1.1.3.tgz","fileCount":48,"integrity":"sha512-T0+KUV0FuXfvGlyd6ln16MFROz7H46t5k/y2pfh7sU+Xh2IoYWWsGhKF0ULaQnXiesRo4piOTKrPeJuldpx9uA==","signatures":[{"sig":"MEUCIQCaAWBFJkFzVRFqHml/6w3jsv+J+OMCHlT3uopU5Z+nWgIgE1CCoabsQgVDdXNUw5Wjst/gq1YvzKcK/Eg0pcCOSrU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":730458},"main":"dist/jmespath.umd.js","_from":"file:jmespath-community-jmespath-1.1.3.tgz","types":"dist/types/index.d.ts","module":"dist/jmespath.esm.js","engines":{"node":">=14.0.0"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"springcomp","email":"uftajwna@masked-emails.me"},"_resolved":"/home/springcomp/projects/jp/typescript/jmespath-community-jmespath-1.1.3.tgz","_integrity":"sha512-T0+KUV0FuXfvGlyd6ln16MFROz7H46t5k/y2pfh7sU+Xh2IoYWWsGhKF0ULaQnXiesRo4piOTKrPeJuldpx9uA==","repository":{"url":"git://github.com/jmespath-community/typescript-jmespath.git","type":"git"},"_npmVersion":"9.6.3","description":"Typescript implementation of the JMESPath Community specification","directories":{},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jmespath_1.1.3_1684180532926_0.7336284296974092","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@jmespath-community/jmespath","version":"1.1.4","keywords":["jmespath","jsonpath","query","json","jq","xpath"],"author":{"url":"https://jmespath.site","name":"JMESPath Community","email":"springcomp@users.noreply.github.com"},"license":"MPL-2.0","_id":"@jmespath-community/jmespath@1.1.4","maintainers":[{"name":"springcomp","email":"uftajwna@masked-emails.me"}],"homepage":"https://github.com/nanoporetech/jmespath-ts#readme","bugs":{"url":"https://github.com/nanoporetech/jmespath-ts/issues"},"dist":{"shasum":"bb6e995be68c51b9bdb891f28e78522c84ad9c2e","tarball":"https://registry.npmjs.org/@jmespath-community/jmespath/-/jmespath-1.1.4.tgz","fileCount":48,"integrity":"sha512-9zZx1NC6ui+LkP8Ew0sNftjw160NFAHXOZ4HEAxBCmlS7mF5yLrHHipo4CTovzT0ZdVUdXg6V5kyfEpulRV5eg==","signatures":[{"sig":"MEQCIBYKbr03ECTFpHoynLZb2MxzAxVukWeRab34YMXyqpRSAiBfdp9qNwCiGMZStiU3SfvYULDJ6YDQFEPQpw1Z9gYRQw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":729907},"main":"dist/jmespath.umd.js","types":"dist/types/index.d.ts","module":"dist/jmespath.esm.js","engines":{"node":">=14.0.0"},"gitHead":"723bc1f731c0a2147856cd0bbabad77e07412d25","typings":"dist/types/index.d.ts","_npmUser":{"name":"springcomp","email":"uftajwna@masked-emails.me"},"repository":{"url":"git://github.com/jmespath-community/typescript-jmespath.git","type":"git"},"_npmVersion":"8.19.4","description":"Typescript implementation of the JMESPath Community specification","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jmespath_1.1.4_1730014688232_0.34342906795925443","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"@jmespath-community/jmespath","version":"1.1.5","keywords":["jmespath","jsonpath","query","json","jq","xpath"],"author":{"url":"https://jmespath.site","name":"JMESPath Community","email":"springcomp@users.noreply.github.com"},"license":"MPL-2.0","_id":"@jmespath-community/jmespath@1.1.5","maintainers":[{"name":"springcomp","email":"uftajwna@masked-emails.me"}],"homepage":"https://github.com/nanoporetech/jmespath-ts#readme","bugs":{"url":"https://github.com/nanoporetech/jmespath-ts/issues"},"dist":{"shasum":"33bb58232e03e31fd59835de9a881f9606d7fa92","tarball":"https://registry.npmjs.org/@jmespath-community/jmespath/-/jmespath-1.1.5.tgz","fileCount":48,"integrity":"sha512-N4iBwuej3QBiUXgYtA2dlwnbgr6NU9cjRukV4UkWo4gW/FQKHZ9gRlsoXAfEYFzblp8ZPfyzlY6KdsdpkBgyaQ==","signatures":[{"sig":"MEQCIFd1k08oyKASYwuoeXhnVZzY3TkqMVEQQFRHFQKACM7kAiA2rRw87+oPGjgfBDh3ycaSpU2298SsOJrbNC8NRUVcNQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":731738},"main":"dist/jmespath.umd.js","types":"dist/types/index.d.ts","module":"dist/jmespath.esm.js","engines":{"node":">=14.0.0"},"gitHead":"eaa131f6c4f185d6be37de74eeaf494c3dbe154e","typings":"dist/types/index.d.ts","_npmUser":{"name":"springcomp","email":"uftajwna@masked-emails.me"},"repository":{"url":"git://github.com/jmespath-community/typescript-jmespath.git","type":"git"},"_npmVersion":"10.9.2","description":"Typescript implementation of the JMESPath Community specification","directories":{},"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jmespath_1.1.5_1738599280597_0.05434143457917351","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@jmespath-community/jmespath","version":"1.2.0","keywords":["jmespath","jsonpath","query","json","jq","xpath"],"author":{"url":"https://jmespath.site","name":"JMESPath Community","email":"springcomp@users.noreply.github.com"},"license":"MPL-2.0","_id":"@jmespath-community/jmespath@1.2.0","maintainers":[{"name":"springcomp","email":"uftajwna@masked-emails.me"}],"homepage":"https://github.com/nanoporetech/jmespath-ts#readme","bugs":{"url":"https://github.com/nanoporetech/jmespath-ts/issues"},"bin":{"jp":"dist/lib/bin/jp.js"},"dist":{"shasum":"8cd7174965bfd64e5c9a732274014e6135800359","tarball":"https://registry.npmjs.org/@jmespath-community/jmespath/-/jmespath-1.2.0.tgz","fileCount":52,"integrity":"sha512-xiQxs2ncykPIjlZt4sss7nGKJjNnOQGhteBnawigYqWMkanXdCSzwqIZpv1IetwMsRqsRlxRiCIGZaOHJ8VJ0Q==","signatures":[{"sig":"MEUCIQC3hzjW1xJbj0aDZOQBTNReOsZvrfel0LkQ/aoAAseIGgIgdBb9yuKfZIuMZsdxWpOqTk85WRhxUldINcHtPrnZiws=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":747188},"main":"dist/jmespath.umd.js","types":"dist/types/index.d.ts","module":"dist/jmespath.esm.js","engines":{"node":">=14.0.0"},"gitHead":"c3ca469e4d481e20095598ff3815c82a4eb95042","typings":"dist/types/index.d.ts","_npmUser":{"name":"springcomp","email":"uftajwna@masked-emails.me"},"repository":{"url":"git://github.com/jmespath-community/typescript-jmespath.git","type":"git"},"_npmVersion":"10.9.2","description":"Typescript implementation of the JMESPath Community specification","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jmespath_1.2.0_1752417614482_0.9471212896513914","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@jmespath-community/jmespath","description":"Typescript implementation of the JMESPath Community specification","version":"1.3.0","author":{"name":"JMESPath Community","email":"springcomp@users.noreply.github.com","url":"https://jmespath.site"},"type":"module","bin":{"jp":"dist/cli.mjs"},"main":"./dist/index.cjs","module":"./dist/index.mjs","browser":"./dist/index.umd.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","browser":{"import":"./dist/index.esm.js","require":"./dist/index.umd.js","default":"./dist/index.umd.js"},"node":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./cli":{"types":"./dist/cli.d.ts","import":"./dist/cli.mjs","require":"./dist/cli.cjs"}},"homepage":"https://github.com/nanoporetech/jmespath-ts#readme","bugs":{"url":"https://github.com/nanoporetech/jmespath-ts/issues"},"keywords":["jmespath","jsonpath","query","json","jq","xpath"],"repository":{"type":"git","url":"git://github.com/jmespath-community/typescript-jmespath.git"},"license":"MPL-2.0","engines":{"node":">=14.0.0"},"_id":"@jmespath-community/jmespath@1.3.0","gitHead":"c38a6b37d2fdf6e51713abe19430d18deebd4b5d","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-nzOrEdWKNpognj6CT+1Atr7gw0bqUC1KTBRyasBXS9NjFpz+og7LeFZrIQqV81GRcCzKa5H+DNipvv7NQK3GzA==","shasum":"0b1ed0bcafeb54003246fa23276d8228da0dd1fb","tarball":"https://registry.npmjs.org/@jmespath-community/jmespath/-/jmespath-1.3.0.tgz","fileCount":20,"unpackedSize":1625195,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC0LQepaWMhQBgxCC80+po2Fa3DOg6KveKhFoJGa3NlLwIgMCgOaZ0JWlZj4B0435lAJOsX/+UA0Vm7W2/9UPHY9rQ="}]},"_npmUser":{"name":"springcomp","email":"uftajwna@masked-emails.me"},"directories":{},"maintainers":[{"name":"springcomp","email":"uftajwna@masked-emails.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jmespath_1.3.0_1752671082071_0.23693385925941324"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-15T21:04:55.798Z","modified":"2025-07-16T13:04:42.445Z","1.1.0":"2023-03-15T21:04:56.135Z","1.1.1":"2023-04-07T15:23:29.916Z","1.1.2":"2023-05-01T05:49:49.953Z","1.1.3":"2023-05-15T19:55:33.192Z","1.1.4":"2024-10-27T07:38:08.586Z","1.1.5":"2025-02-03T16:14:40.888Z","1.2.0":"2025-07-13T14:40:14.711Z","1.3.0":"2025-07-16T13:04:42.269Z"},"bugs":{"url":"https://github.com/nanoporetech/jmespath-ts/issues"},"author":{"name":"JMESPath Community","email":"springcomp@users.noreply.github.com","url":"https://jmespath.site"},"license":"MPL-2.0","homepage":"https://github.com/nanoporetech/jmespath-ts#readme","keywords":["jmespath","jsonpath","query","json","jq","xpath"],"repository":{"type":"git","url":"git://github.com/jmespath-community/typescript-jmespath.git"},"description":"Typescript implementation of the JMESPath Community specification","maintainers":[{"name":"springcomp","email":"uftajwna@masked-emails.me"}],"readme":"![Build](https://github.com/jmespath-community/typescript-jmespath/actions/workflows/nodejs.yml/badge.svg?branch=main)\n\n# @jmespath-community/jmespath\n\n@jmespath-community/jmespath is a **TypeScript** implementation of the [JMESPath](https://jmespath.site/) spec.\n\nJMESPath is a query language for JSON. It will take a JSON document\nas input and transform it into another JSON document\ngiven a JMESPath expression.\n\n## INSTALLATION\n\n```\nnpm install @jmespath-community/jmespath\n```\n\n## USAGE\n\n### `search(data: JSONValue, expression: string): JSONValue`\n\n```javascript\nimport { search } from \"@jmespath-community/jmespath\";\n\nsearch({ foo: { bar: { baz: [0, 1, 2, 3, 4] } } }, \"foo.bar.baz[2]\");\n\n// OUTPUTS: 2\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```javascript\nimport { search } from \"@jmespath-community/jmespath\";\n\n/* --- EXAMPLE 1 --- */\n\nlet JSON_DOCUMENT = {\n  foo: {\n    bar: {\n      baz: [0, 1, 2, 3, 4],\n    },\n  },\n};\n\nsearch(JSON_DOCUMENT, \"foo.bar\");\n// OUTPUTS: { baz: [ 0, 1, 2, 3, 4 ] }\n\n/* --- EXAMPLE 2 --- */\n\nJSON_DOCUMENT = {\n  foo: [\n    { first: \"a\", last: \"b\" },\n    { first: \"c\", last: \"d\" },\n  ],\n};\n\nsearch(JSON_DOCUMENT, \"foo[*].first\");\n// OUTPUTS: [ 'a', 'c' ]\n\n/* --- EXAMPLE 3 --- */\n\nJSON_DOCUMENT = {\n  foo: [{ age: 20 }, { age: 25 }, { age: 30 }, { age: 35 }, { age: 40 }],\n};\n\nsearch(JSON_DOCUMENT, \"foo[?age > `30`]\");\n// OUTPUTS: [ { age: 35 }, { age: 40 } ]\n```\n\n### `compile(expression: string): ExpressionNodeTree`\n\nYou can precompile all your expressions ready for use later on. The `compile`\nfunction takes a JMESPath expression and returns an abstract syntax tree that\ncan be used by the TreeInterpreter function\n\n```javascript\nimport { compile, TreeInterpreter } from \"@jmespath-community/jmespath\";\n\nconst ast = compile(\"foo.bar\");\n\nTreeInterpreter.search(ast, { foo: { bar: \"BAZ\" } });\n// RETURNS: \"BAZ\"\n```\n\n---\n\n## EXTENSIONS TO ORIGINAL SPEC\n\n1. ### Register your own custom functions\n\n   #### Enhanced Function Registry API\n\n   The library provides both backward-compatible and enhanced APIs for registering custom functions with improved developer experience, type safety, and flexible override behavior.\n\n   ##### Basic Usage (Backward Compatible)\n\n   ```javascript\n   import { search, registerFunction, TYPE_NUMBER } from \"@jmespath-community/jmespath\";\n\n   search({ foo: 60, bar: 10 }, \"divide(foo, bar)\");\n   // THROWS ERROR: Error: Unknown function: divide()\n\n   registerFunction(\n     \"divide\", // FUNCTION NAME\n     (resolvedArgs) => {\n       // CUSTOM FUNCTION\n       const [dividend, divisor] = resolvedArgs;\n       return dividend / divisor;\n     },\n     [{ types: [TYPE_NUMBER] }, { types: [TYPE_NUMBER] }], //SIGNATURE\n   );\n\n   search({ foo: 60, bar: 10 }, \"divide(foo, bar)\");\n   // OUTPUTS: 6\n   ```\n\n   ##### Enhanced Registry API with Type Safety\n\n   ```typescript\n   import { register, search, TYPE_NUMBER } from \"@jmespath-community/jmespath\";\n\n   // TypeScript prevents registering built-in functions at compile time\n   // register('sum', myFunc, signature); // TypeScript error!\n\n   // Enhanced registration with better error handling\n   const result = register('multiply', ([a, b]) => a * b, [\n     { types: [TYPE_NUMBER] },\n     { types: [TYPE_NUMBER] }\n   ]);\n\n   if (result.success) {\n     console.log(result.message); // \"Function multiply() registered successfully\"\n   } else {\n     console.error(result.message); // Detailed error information\n   }\n   ```\n\n   ##### Override Existing Functions\n\n   ```javascript\n   import { registerFunction, register } from \"@jmespath-community/jmespath\";\n\n   // Option 1: Using registerFunction with options\n   registerFunction('myFunc', () => 'first', []);\n   registerFunction('myFunc', () => 'second', [], { override: true, warn: true });\n   // Console: \"Warning: Overriding existing function: myFunc()\"\n\n   // Option 2: Using enhanced register API\n   const result = register('myFunc', () => 'third', [], { override: true });\n   console.log(result.message); // \"Function myFunc() overridden successfully\"\n   ```\n\n   ##### Registry Management\n\n   ```javascript\n   import {\n     isRegistered,\n     getRegisteredFunctions,\n     getCustomFunctions,\n     unregisterFunction,\n     clearCustomFunctions\n   } from \"@jmespath-community/jmespath\";\n\n   // Check if function exists\n   console.log(isRegistered('sum')); // true (built-in)\n   console.log(isRegistered('myFunc')); // true (if registered)\n\n   // Get all registered functions\n   const allFunctions = getRegisteredFunctions();\n   console.log(allFunctions); // ['abs', 'avg', 'ceil', ..., 'myFunc']\n\n   // Get only custom functions\n   const customFunctions = getCustomFunctions();\n   console.log(customFunctions); // ['myFunc', 'divide', ...]\n\n   // Unregister custom function (built-ins cannot be unregistered)\n   const removed = unregisterFunction('myFunc');\n   console.log(removed); // true if successful\n\n   // Clear all custom functions\n   clearCustomFunctions();\n   console.log(getCustomFunctions()); // []\n   ```\n\n   ##### Optional Arguments\n\n   Optional arguments are supported by setting `{..., optional: true}` in argument signatures\n\n   ```javascript\n   registerFunction(\n     \"divide\",\n     (resolvedArgs) => {\n       const [dividend, divisor] = resolvedArgs;\n       return dividend / (divisor ?? 1); //OPTIONAL DIVISOR THAT DEFAULTS TO 1\n     },\n     [{ types: [TYPE_NUMBER] }, { types: [TYPE_NUMBER], optional: true }], //SIGNATURE\n   );\n\n   search({ foo: 60, bar: 10 }, \"divide(foo)\");\n   // OUTPUTS: 60\n   ```\n\n2. ### Root value access with `$` symbol\n\n```javascript\nsearch({ foo: { bar: 999 }, baz: [1, 2, 3] }, \"$.baz[*].[@, $.foo.bar]\");\n\n// OUTPUTS:\n// [ [ 1, 999 ], [ 2, 999 ], [ 3, 999 ] ]\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.site/main#tutorial).\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.site/main#libraries).\n\nAnd finally, the full JMESPath specification can be found\non the [JMESPath site](https://jmespath.site/main/#specification).\n\n## Experimental Features\n\n### Ternary Operations (`? :`)\n\n**Supported Version:** 1.1.6\n\nExperimental support for [ternary operations](https://github.com/jmespath-community/jmespath.spec/discussions/179) has been added, allowing for conditional logic within your JMESPath expressions. The syntax is `condition ? value_if_true : value_if_false`.\n\n- **Condition:** The expression before the `?`. JMESPath determines truthiness based on the evaluated value:\n  - `true` is truthy.\n  - Any non-empty object, array, or string is truthy.\n  - Any non-zero number is truthy.\n  - `false`, `null`, empty objects `{}`, empty arrays `[]`, and empty strings `''` are falsy.\n- **Value if true:** The expression between the `?` and `:`. This is evaluated and returned if the condition is truthy.\n- **Value if false:** The expression after the `:`. This is evaluated and returned if the condition is falsy.\n\n**Examples:**\n\nBasic usage:\n\n```javascript\nsearch({ is_active: true, user: \"Alice\" }, \"is_active ? user : 'Guest'\");\n// OUTPUTS: \"Alice\"\n\nsearch({ is_active: false, user: \"Bob\" }, \"is_active ? user : 'Guest'\");\n// OUTPUTS: \"Guest\"\n```\n\nTruthiness with different types:\n\n```javascript\nsearch({ data: [1, 2] }, \"data ? 'has_data' : 'no_data'\");\n// OUTPUTS: \"has_data\"\n\nsearch({ data: [] }, \"data ? 'has_data' : 'no_data'\");\n// OUTPUTS: \"no_data\"\n\nsearch({ count: 5 }, \"count ? 'count_present' : 'no_count'\");\n// OUTPUTS: \"count_present\"\n\nsearch({ count: 0 }, \"count ? 'count_present' : 'no_count'\");\n// OUTPUTS: \"no_count\"\n```\n\nNested Ternaries:\n\n```javascript\nsearch({ a: true, b: false, val1: 10, val2: 20, val3: 30 }, \"a ? (b ? val1 : val2) : val3\");\n// OUTPUTS: 20\n```\n\nThis feature is currently experimental and its syntax or behavior might change in future releases.\n","readmeFilename":"README.md"}