@types/json-schema-generator
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

Installation

npm install --save @types/json-schema-generator

Summary

This package contains type definitions for json-schema-generator (https://github.com/krg7880/json-schema-generator).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-schema-generator.

index.d.ts

import { JSONSchema4 } from "json-schema";

export = jsonToSchema;

/**
 * JSON schema generated based on draft-v4 of the specification.
 */
declare function jsonToSchema(schema: object): JSONSchema4;

Additional Details

Credits

These definitions were written by Marcell Toth.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/json-schema-generator

Weekly Downloads

1,282

Version

2.0.3

License

MIT

Unpacked Size

3.15 kB

Total Files

5

Last publish

Collaborators

  • types