JSPM

  • Created
  • Published
  • Downloads 973
  • Score
    100M100P100Q126114F
  • License Apache-2.0

Evaluate JSON Pointer expressions against ApiDOM.

Package Exports

  • @speclynx/apidom-json-pointer

Readme

@speclynx/apidom-json-pointer

apidom-json-pointer is a package that evaluates JSON Pointer against ApiDOM.

Installation

You can install this package via npm CLI by running the following command:

 $ npm install @speclynx/apidom-json-pointer

The API of this package is fully compliant with RFC 6901 and supports all aspects of JSON Pointer. Uses @swaggerexpert/json-pointer under the hood and fully reflects its API.

Evaluation is contextual to ApiDOM realm - meaning evaluate function expects only ApiDOM as the first argument.

import { evaluate } from '@speclynx/apidom-json-pointer';