UNPKG

@types/jmespath

Version:
28 lines (22 loc) 915 B
# Installation > `npm install --save @types/jmespath` # Summary This package contains type definitions for jmespath (https://github.com/jmespath/jmespath.js). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jmespath. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jmespath/index.d.ts) ````ts /** * Take a JSON document and transform it into another JSON document * through a JMESPath expression. See: http://jmespath.org/ * @param jsonDoc the document to transform * @param query a JMESPath expression * @return the transformed document */ export function search(jsonDoc: any, query: string): any; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 03:09:37 GMT * Dependencies: none # Credits These definitions were written by [Jeffery Grajkowski](https://github.com/pushplay).