JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q19519F
  • License MIT

Package Exports

  • json-document

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (json-document) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

JSON Document

Model and manipulate data with ES6 classes, JSON Schema initialization and validation, JSON Patch, JSON Pointer, and JSON Mappings.

  • works in Nodejs and the browser
  • compiled schema initialization and validation methods
  • high-level JSONDocument class for ease of use
  • compatible with webpack

Specifications

Status

Alpha code undergoing rigorous testing and refactoring prior to first production release.

Install

$ npm install https://github.com/anvilresearch/json-document.git

Usage

Module loading

const {
  JSONSchema,
  JSONMapping,
  JSONPatch,
  JSONPointer,
  JSONDocument,
  Formats
} = require('json-document')

JSONSchema

JSONMapping

JSONPatch

JSONPointer

JSONDocument

Formats

Running tests

Nodejs

$ npm test

Browser (karma)

$ npm run karma

MIT License

Copyright (c) 2016 Anvil Research, Inc.