# @types/json-schema-generator

> TypeScript definitions for json-schema-generator

Latest version **2.0.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/json-schema-generator
pnpm add @types/json-schema-generator
yarn add @types/json-schema-generator
bun add @types/json-schema-generator
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.3 |
| Published | 2023-11-07 |
| First published | 2020-09-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/json-schema-generator
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-schema-generator
- npm.io page: https://npm.io/package/@types/json-schema-generator

## Dependencies (1)

- [@types/json-schema](https://npm.io/package/@types/json-schema.md) *

## Recent versions

- 2.0.3 (latest) — 2023-11-07
- 2.0.0 (ts3.1) — 2020-09-08
- 2.0.2 — 2023-10-18
- 2.0.1 — 2023-09-15

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-schema-generator/index.d.ts)
````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
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/json-schema](https://npmjs.com/package/@types/json-schema)

# Credits
These definitions were written by [Marcell Toth](https://github.com/marcelltoth).

---
_Source: https://npm.io/package/@types/json-schema-generator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
