1.12.0 • Published 22 days ago

@tsofist/schema-forge v1.12.0

Weekly downloads
-
License
MIT
Repository
-
Last release
22 days ago

Schema Forge

This library is a set of utilities for generating JSON schemas from TypeScript types of your project, as well as for validating data according to these schemas.

Please note: Instruction is under construction

Use ./test-sources directory and *.spec-files for examples.

Generator

You can organize your types and interfaces in such a way that it is they who generate the json-schema. Thus, unnecessary types will not get into the result. You can also control the descriptions of types and the selectivity of interface members and individual types (be careful with these features, they can lead to the impossibility of full validation on the side that will use this data).

How it works?

Main idea is to create type descriptions by whose schemes in the future it will be possible to validate arbitrary data.

Validator

todo

1.12.0

22 days ago

1.11.0

25 days ago

1.10.0

26 days ago

1.9.0

27 days ago

1.8.0

29 days ago

1.7.0

30 days ago

1.6.0

1 month ago

1.5.1

2 months ago

1.5.0

2 months ago

1.4.1

3 months ago

1.4.0

3 months ago

1.3.1

3 months ago

1.3.0

3 months ago

1.2.0

3 months ago

1.0.2

3 months ago

1.1.0

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago