@sinclair/typebox
Advanced tools
Comparing version 0.8.1 to 0.9.0
{ | ||
"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<Box></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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50500
475