🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

ajv-draft-04

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ajv-draft-04

Ajv class for JSON Schema draft-04

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
5.8M
1.12%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

Ajv

FAQs

Package last updated on 23 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts