@speclynx/apidom-json-pointer
v1.12.2
Published
Evaluate JSON Pointer expressions against ApiDOM.
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-pointerThe 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';