JSPM

ajv-draft-04

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

Ajv class for JSON Schema draft-04

Package Exports

  • ajv-draft-04

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 (ajv-draft-04) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ajv-draft-04

Ajv with JSON Schema draft-04 support

build npm coverage Gitter GitHub Sponsors

Usage

You need to install both ajv and this package (to allow upgrading ajv without upgrading this package):

npm i ajv ajv-draft-04
// ESM/TypeScript import
import Ajv from "ajv-draft-04"
// Node.js require:
const Ajv = require("ajv-draft-04")

const ajv = new Ajv()

See ajv site for documentation.

Tests

npm install
git submodule update --init
npm test

License

MIT