[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1010268: ITP: node-sinclair-typebox -- JSON Schema Type Builder with Static Type Resolution for TypeScript



Package: wnpp
Severity: wishlist
Owner: Yadd <yadd@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org

* Package name    : node-sinclair-typebox
  Version         : 0.23.4
  Upstream Author : sinclairzx81 <haydn.developer@gmail.com>
* URL             : https://github.com/sinclairzx81/typebox
* License         : Expat
  Programming Lang: JavaScript
  Description     : JSON Schema Type Builder with Static Type Resolution for TypeScript

@sinclair/typeBox is a library that creates in-memory JSON Schema objects
that can be statically inferred as TypeScript types. The schemas produced by
this library are designed to match the static type checking rules of the
TypeScript compiler. TypeBox allows one to create a unified type that can be
both statically asserted by the TypeScript compiler and runtime asserted
using standard JSON Schema validation.

@sinclair/typeBox can be used as a simple tool to build up complex schemas or
integrated into RPC or REST services to help validate JSON data received over
the wire. TypeBox does not provide any JSON schema validation. Please use
libraries such as AJV to validate schemas built with this library.

node-sinclair-typebox is a new dependency of jest and will be maintained
under JS Team umbrella


Reply to: