Skip to content

ajv-validator/ajv-draft-04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 23, 2021
2c3f50e · May 23, 2021

History

10 Commits
May 20, 2021
May 19, 2021
May 19, 2021
May 20, 2021
May 19, 2021
May 19, 2021
May 19, 2021
May 19, 2021
May 19, 2021
May 20, 2021
May 19, 2021
May 23, 2021
May 19, 2021
May 23, 2021
May 19, 2021

Repository files navigation

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