# @krimzen-ninja/json-schema-to-ts

> Helper library for translating between TS and JSON schema, allowing you to define your objects once

Latest version **0.4.8** (published 2024-05-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @krimzen-ninja/json-schema-to-ts
pnpm add @krimzen-ninja/json-schema-to-ts
yarn add @krimzen-ninja/json-schema-to-ts
bun add @krimzen-ninja/json-schema-to-ts
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.8 |
| Published | 2024-05-20 |
| First published | 2023-10-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18 |
| Dependencies | 6 |
| Unpacked size | 29 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ryan Kotzen |
| Maintainers | exigentcoder |
| Keywords | krimzen-ninja, typescript, json-schema |

## Links

- npm: https://www.npmjs.com/package/@krimzen-ninja/json-schema-to-ts
- npm.io page: https://npm.io/package/@krimzen-ninja/json-schema-to-ts

## Dependencies (6)

- [path](https://npm.io/package/path.md) 0.12.7
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [check-types](https://npm.io/package/check-types.md) ^11.2.3
- [json-schema](https://npm.io/package/json-schema.md) ^0.4.0
- [@krimzen-ninja/validation](https://npm.io/package/@krimzen-ninja/validation.md) 0.4.9
- [@stoplight/json-ref-resolver](https://npm.io/package/@stoplight/json-ref-resolver.md) ^3.1.6

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.4.8 (latest) — 2024-05-20
- 0.4.4-beta.20 (next) — 2024-03-10
- 0.4.4-beta.19 — 2024-02-15
- 0.4.4-beta.18 — 2024-02-15
- 0.4.4-beta.17 — 2024-01-25
- 0.4.4-beta.16 — 2024-01-24
- 0.4.4-beta.15 — 2024-01-22
- 0.4.7 — 2024-01-22
- 0.4.4-beta.14 — 2024-01-14
- 0.4.6 — 2023-12-27
- 0.4.4-beta.13 — 2023-12-27
- 0.4.4-beta.12 — 2023-12-27
- 0.4.4-beta.11 — 2023-12-27
- 0.4.4-beta.10 — 2023-12-27
- 0.4.4-beta.9 — 2023-12-27
- … 39 more at https://npm.io/package/@krimzen-ninja/json-schema-to-ts/versions

## README

# json-schema-to-ts

This library was generated with [Nx](https://nx.dev).

## Running unit tests

Run `nx test json-schema-to-ts` to execute the unit tests via [Jest](https://jestjs.io).

## Running lint

Run `nx lint json-schema-to-ts` to execute the lint via [ESLint](https://eslint.org/).

## Todo

Need to add the reverse from ts to Json schema.
.

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