Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

48 views
Skip to first unread message

Yadd

unread,
Apr 27, 2022, 9:10:04 AM4/27/22
to
Package: wnpp
Severity: wishlist
Owner: Yadd <ya...@debian.org>
X-Debbugs-Cc: debian...@lists.debian.org

* Package name : node-sinclair-typebox
Version : 0.23.4
Upstream Author : sinclairzx81 <haydn.d...@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
0 new messages