ts-runtime
cardboard-js
Our great sponsors
ts-runtime | cardboard-js | |
---|---|---|
3 | 3 | |
480 | 8 | |
- | - | |
0.0 | 9.1 | |
over 3 years ago | 5 months ago | |
TypeScript | TypeScript | |
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.
cardboard-js
-
Routing is FUN - the Web is weird, but fun
Have you ever wondered how Routers work in frameworks and such? I did not. Until I had to write one for Cardboard. I discovered that they're actually pretty fun to build, and not at all weird or hacky.
-
Want to help with Cardboard? JS/TS Vanilla Reactive Framework
That's just the peak of the iceberg, for a better vision of what it does, head over to the repo and check out the README and examples!
-
From Concept to Reality: My process of building Cardboard
TLDR; The article is a bit lengthy. If you just want to check out the end result, feel free to jump to the to-do app or check out Cardboard over on GitHub.
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)
van - 🍦 VanJS: World's smallest reactive UI framework. Incredibly Powerful, Insanely Small - Everyone can build a useful UI app in an hour.
typescript-is
elsa - ❄️ Elsa is a minimal, fast and secure runtime for JavaScript and TypeScript written in Go
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.
SafeScript - This package intent is to make "safe" JavaScript runtime by checking types at runtime and disallowing most of implicit coercion
io-ts - Runtime type system for IO decoding/encoding
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
zod - TypeScript-first schema validation with static type inference