@f5io/jsonpath

Performant JSONPath implementation

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
164Mar 19, 2018Jul 6, 2016Minified + gzip package size for @f5io/jsonpath in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.