@f5io/jsonpath

1.0.9 • Public • Published

jsonpath

Build Status Coverage Status

----

Performant JSONPath implementation that focusses on results

Features

  • Fast
  • Extended syntax support
  • Error safe, using a simple Maybe functor under the hood
  • Memoized compilation of queries
  • 100% code coverage

Syntax

COMING SOON

Installation

$ npm install --save @f5io/jsonpath

or if you have yarn installed on your machine

$ yarn add @f5io/jsonpath

Usage

const jp = require('@f5io/jsonpath');
const jsonPathQueryStr = '$..h[?(@.foo>13)]';
const result = jp(jsonPathQueryStr,jsonObject);

Contributors

Readme

Keywords

Package Sidebar

Install

npm i @f5io/jsonpath

Weekly Downloads

134

Version

1.0.9

License

MIT

Unpacked Size

149 kB

Total Files

30

Last publish

Collaborators

  • f5io