Skip to content

Latest commit

 

History

History
87 lines (66 loc) · 3.6 KB

File metadata and controls

87 lines (66 loc) · 3.6 KB
repo whitlockjc/json-refs
url https://github.com/whitlockjc/json-refs
homepage
starredAt 2024-05-28T15:25:15Z
createdAt 2014-10-30T22:49:11Z
updatedAt 2025-02-20T06:50:00Z
language JavaScript
license MIT
branch master
stars 227
isPublic true
isTemplate false
isArchived false
isFork false
hasReadMe true
refreshedAt 2025-02-25T19:59:29.979Z
description Various utilities for JSON Pointers (http://tools.ietf.org/html/rfc6901) and JSON References (http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03).
tags

json-refs

json-refs is a simple library for interacting with JSON References and JSON Pointers. While the main purpose of this library is to provide JSON References features, since JSON References are a combination of Object structure and a JSON Pointer, this library also provides some features for JSON Pointers as well.

Project Badges

  • Build status: Build Status
  • Dependencies: Dependencies
  • Developer dependencies: Dev Dependencies
  • Downloads: NPM Downloads Per Month
  • Gitter: Join the chat at https://gitter.im/whitlockjc/json-refs
  • License: License
  • Version: NPM Version

Documentation

The documentation for this project can be found at https://github.com/whitlockjc/json-refs/blob/master/docs/README.md. Specific documentation can be found here:

Installation

json-refs is available for both Node.js and the browser. Installation instructions for each environment are below.

Browser

json-refs binaries for the browser are available in the dist/ directory:

Of course, these links are for the master builds so feel free to download from the release of your choice. Once you've gotten them downloaded, to use the standalone binaries, your HTML include might look like this:

<!-- ... -->
<script src="json-refs.js"></script>
<!-- ... -->

Node.js

Installation for Node.js applications can be done via NPM.

npm install json-refs --save

If you plan on using the json-refs CLI executable, you can install json-refs globally like this:

npm install json-refs --global

After this, feel free to run json-refs help to see what you can do or view the CLI documentation linked above