npm.io
0.15.2 • Published 2 years ago

@types/jmespath

Licence
MIT
Version
0.15.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

/**
 * 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 0337 GMT
  • Dependencies: none

Credits

These definitions were written by Jeffery Grajkowski.