ts-runtime
you-are-not
Our great sponsors
ts-runtime | you-are-not | |
---|---|---|
3 | 4 | |
480 | 66 | |
- | - | |
0.0 | 5.7 | |
over 3 years ago | over 2 years ago | |
TypeScript | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ts-runtime
- Why TS type guard for interfaces uses strings instead of implementing something better?
-
SafeScript runtime tool that add checks for JavaScript and TypeScript
There is also https://github.com/fabiandev/ts-runtime for Typescript that looks more polished. Too bad both these projects were abandoned, it would be such a cleaner alternative to libraries like io-ts.
-
TypeScript runtime type-checking - designed for simple use, through to enforcing API payload schema
I like io-ts though it has bad documentation. More random examples are ts-runtime and ajv. JS examples are joi, v8n, validate.js.
you-are-not
What are some alternatives?
ajv - The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
ts-json-schema-generator - Generate JSON schema from your Typescript sources
typescript-is
ts-runtime-checks - A typescript transformer that automatically generates validation code from your types.
cardboard-js - A very simple, yet powerful reactive framework, to create web applications. All of this with, no HTML, CSS, JSX, and no required build.
io-ts - Runtime type system for IO decoding/encoding
SafeScript - This package intent is to make "safe" JavaScript runtime by checking types at runtime and disallowing most of implicit coercion
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
zod - TypeScript-first schema validation with static type inference