ajv-draft-04
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i ajv-draft-04

Weekly Downloads

2,921,839

Version

1.0.0

License

MIT

Unpacked Size

32.9 kB

Total Files

29

Last publish

Collaborators

  • esp