| 1 |
Source: node-sinclair-typebox |
| 2 |
Section: javascript |
| 3 |
Maintainer: Debian Javascript Maintainers <[email protected]> |
| 4 |
Uploaders: Yadd <[email protected]> |
| 5 |
Testsuite: autopkgtest-pkg-nodejs |
| 6 |
Build-Depends: |
| 7 |
debhelper-compat (= 13) |
| 8 |
, dh-sequence-nodejs |
| 9 |
, node-typescript |
| 10 |
, ts-node <!nocheck> |
| 11 |
Standards-Version: 4.7.3 |
| 12 |
Homepage: https://github.com/sinclairzx81/typebox |
| 13 |
Vcs-Git: https://salsa.debian.org/js-team/node-sinclair-typebox.git |
| 14 |
Vcs-Browser: https://salsa.debian.org/js-team/node-sinclair-typebox |
| 15 |
|
| 16 |
Package: node-sinclair-typebox |
| 17 |
Architecture: all |
| 18 |
Depends: ${misc:Depends} |
| 19 |
Multi-Arch: foreign |
| 20 |
Description: JSON Schema Type Builder with Static Type Resolution for TypeScript |
| 21 |
@sinclair/typeBox is a library that creates in-memory JSON Schema objects |
| 22 |
that can be statically inferred as TypeScript types. The schemas produced by |
| 23 |
this library are designed to match the static type checking rules of the |
| 24 |
TypeScript compiler. TypeBox allows one to create a unified type that can be |
| 25 |
both statically asserted by the TypeScript compiler and runtime asserted |
| 26 |
using standard JSON Schema validation. |
| 27 |
. |
| 28 |
@sinclair/typeBox can be used as a simple tool to build up complex schemas or |
| 29 |
integrated into RPC or REST services to help validate JSON data received over |
| 30 |
the wire. TypeBox does not provide any JSON schema validation. Please use |
| 31 |
libraries such as AJV to validate schemas built with this library. |