Socket
Socket
Sign inDemoInstall

@sinclair/typebox

Package Overview
Dependencies
Maintainers
1
Versions
324
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sinclair/typebox - npm Package Compare versions

Comparing version 0.8.1 to 0.9.0

2

package.json
{
"name": "@sinclair/typebox",
"version": "0.8.1",
"version": "0.9.0",
"description": "JSONSchema Type Builder with Static Type Resolution for TypeScript",

@@ -5,0 +5,0 @@ "author": "sinclairzx81",

<div align='center'>
<h1>TypeBox</h1>
<h1>Type&lt;Box&gt;</h1>
<p>JSONSchema Type Builder with Static Type Resolution for TypeScript</p>
[![npm version](https://badge.fury.io/js/%40sinclair%2Ftypebox.svg)](https://badge.fury.io/js/%40sinclair%2Ftypebox)
[![Build Status](https://travis-ci.org/sinclairzx81/typebox.svg?branch=master)](https://travis-ci.org/sinclairzx81/TypeBox)
<img src='./doc/example.gif'></img>
[![Build Status](https://travis-ci.org/sinclairzx81/typebox.svg?branch=master)](https://travis-ci.org/sinclairzx81/TypeBox)
</div>
<a name="Install"></a>
## Install
```

@@ -17,2 +23,4 @@ npm install @sinclair/typebox --save

<a name="Overview"></a>
## Overview

@@ -31,7 +39,7 @@

## Contents
- [Install](#Install)
- [Overview](#Overview)
- [Example](#Example)
- [Types](#Types)
- [Intrinsic Types](#Intrinsics)
- [Other Types](#Intrinsics)
- [Functions](#Functions)

@@ -247,3 +255,3 @@ - [Validation](#Validation)

<td><code>const T = Type.Map(Type.Number())</code></td>
<td><code>pending</code></td>
<td><code>{ type: 'object', additionalProperties: { type: 'number' } }</code></td>
</tr>

@@ -301,3 +309,3 @@ <tr>

## Intrinsics
## Other Types

@@ -304,0 +312,0 @@ TypeBox provides some non-standard JSONSchema functions that TypeBox refers to as Intrinsic types. While these types cannot be used with JSONSchema, they do provide similar reflection and introspection metadata for expressing function signatures with TypeBox.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc