fartscroll.js
arktype
fartscroll.js | arktype | |
---|---|---|
3 | 41 | |
2,806 | 3,375 | |
- | 2.4% | |
0.0 | 7.9 | |
over 5 years ago | about 21 hours ago | |
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.
fartscroll.js
-
TypeScript please give us types
We have types at home.
My litmus test regarding whether I can even consider using a library in production is: does it have more stars than fartscroll.js?
https://github.com/theonion/fartscroll.js/tree/master
Most of the entries there are below that number, which begs the question: is this really that much of a problem that it mandates the drastic changes required?
I actually don't know if it's even doable, considering TS's structural type system, where the answer to the question "what type is X?" is not straightforward.
-
Weekly Random Discussion Thread for 2/20/23 - 2/26/23
The best content produced by The Onion was a JavaScript library to make farting noises on scroll events: https://github.com/theonion/fartscroll.js
-
From TypeScript to ReScript
As a sort of litmus test I use the number of stars a superset of(or language compiling to) JavaScript has on GitHub and how that compares to fartscroll.js: https://github.com/theonion/fartscroll.js/
By this measure ReScript is still a niche language.
arktype
-
Library for benchmarking TS types
I primarily rely on that approach to benchmark ArkType's types.
- Introducing @arktype/attest: A new approach to type-level testing and benchmarks
-
TypeScript please give us types
I was one of the most outspoken supporters of this initiative until I started working on ArkType. That may sound oddly self-serving, and it would be naive to claim objectivity after having invested so much into my own solution to this problem. However, I don't think that's the primary reason I changed my mind.
Since it's not explicitly listed there, I feel I should shout out David Blass and his incredibly cool ArkType project: https://github.com/arktypeio/arktype
He sometimes (used to?) streams himself working on twitch and it's a really comfy place to hang out: https://www.twitch.tv/arktypeio
-
Using ArkType for TypeScript runtime validation
ArkType is a runtime validation library that can infer TypeScript definitions one-to-one and reuse them as highly-optimized validators for your data.
-
preferred way to type guard api response body?
Could also try ArkType if you haven't seen it.
-
Valid runtime typing with Dilav
How would you say the functional chaining style overall compares to a parsed syntax like ArkType?
-
Can someone recommend a library for data parsing similar to Zod, but with better support for input transformations/preprocessing?
I'm working on a library called ArkType maybe of interest to you.
-
Solving balanced parentheses problem using Dart's type system
If you're interested in the possibilities of this kind of stuff in TypeScript, you should check out ArkType.
-
Safer Type Checking At Both Runtime and Compile Time
Have you tried ArkType?
What are some alternatives?
genType - Auto generation of idiomatic bindings between Reason and JavaScript: either vanilla or typed with TypeScript/FlowType.
zod - TypeScript-first schema validation with static type inference
lwt - OCaml promises and concurrent I/O
proposal-decorators - Decorators for ES6 classes
melange - A mixture of tooling combined to produce JavaScript from OCaml & Reason
trpc - 🧙♀️ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.
typescript-needs-types - TypeScript please give us types.
monorepo
type-level-regexp - 🔤🔍 Type-level RegExp, parse and match string in TypeScript type system.
typescript-runtime-type-benchmarks - 📊 Benchmark Comparison of Packages with Runtime Validation and TypeScript Support
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript