🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

as-typed

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

as-typed - npm Package Compare versions

Comparing version

to
0.0.0-dev.20220802112108

2

package.json
{
"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.