0.9.3 • Published 8 months ago

typescript-introspection v0.9.3

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

typescript-introspection

A typescript library for specifying runtime-introspectable datatype schemas.

By virtue of being introspectable, these datatype schemas are capable of:

  • accurately initializing an instance of this datatype
  • marshaling an instance of this datatype to/from JSON and string formats in a type-safe manner
  • accuractly serializing the schema itself to/from JSON

... with little to no additional code.

Features

Datatypes may be defined recursively:

  • native datatypes (for Javascript) such as boolean number string
  • sequences (equivalent to Arrays in Javascript)
  • aggregates (equivalent to objects or maps in Javascript)
0.9.3

8 months ago

0.9.2

9 months ago

0.9.1

9 months ago