0.1.11 • Published 7 years ago

json-schema-bundler v0.1.11

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

JSON Schema Bundler

Lightweight JSON Schema reference parser. See demo online.

Features

  • Bundles external JSON Schema references into internal references
  • Dereferences internal references
  • Works with JSON and YAML format
  • Bundles external text file formats as well
  • Follows specification: All other properties in a "$ref" object MUST be ignored.
  • By default requires axios and yamljs but can be replaced by alternatives via injection
  • Promise API
  • Runs in browser and server
  • HTTP and file system on server
  • Loading progress report
  • Internal file cache available (for offline PWAs)
  • Small 8 KB footprint

Usage

Disclaimer: Work in progress!

Browser

./test/index.html

Node

./test/index-http.js and ./test/index-fs.js

Alternatives

See ./test/benchmark.html.

0.1.11

7 years ago

0.1.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago