ts-runtime
SafeScript
Our great sponsors
ts-runtime | SafeScript | |
---|---|---|
3 | 3 | |
480 | 5 | |
- | - | |
0.0 | 0.8 | |
over 3 years ago | about 1 year ago | |
TypeScript | JavaScript | |
MIT License | 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.
SafeScript
-
I made SafeScript runtime tool that add checks for JavaScript and TypeScript
At the spring 2021 I created the tool named SafeScript
- SafeScript runtime tool that add checks for JavaScript and TypeScript
-
What you recommend between learning C# or Javascript today ? Which is the most popular or cutting edge right now ?
But with TypeScript and SafeScript it could be made safer https://github.com/redradist/SafeScript
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)
zod - TypeScript-first schema validation with static type inference
typescript-is
you-are-not - A minimal, blazing fast, TypeScript runtime type-checker. It is intuitive, API-centric, and customisable. A must-have for API payload sanitiser, type-checking, validation, error handing and messaging helper -- all in a small and neat pack. [Moved to: https://github.com/calvintwr/not]
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
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.