Comparing version 0.0.0-dev.20220619013933 to 0.0.0-dev.20220802112108
{ | ||
"name": "as-typed", | ||
"version": "0.0.0-dev.20220619013933", | ||
"version": "0.0.0-dev.20220802112108", | ||
"description": "Static TypeScript types from a literal JSONSchema type", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
# `as-typed` | ||
![npm badge](https://img.shields.io/npm/v/as-typed) | ||
[![npm badge](https://img.shields.io/npm/v/as-typed)](https://www.npmjs.com/package/as-typed) | ||
@@ -5,0 +5,0 @@ Type magic to convert a JSON Schema literal into the proper TypeScript type representation, all without additional build steps. This module has no runtime functionality by itself. It exposes a single `AsTyped` type which takes a valid JSON Schema and outputs the equivalent type for it. With this you can get type safety at runtime and validate your values at runtime writing types just once. Great for JSON integrations and data serialization. |
14131