linqbox
arktype
linqbox | arktype | |
---|---|---|
11 | 41 | |
122 | 3,375 | |
- | 2.7% | |
0.0 | 7.9 | |
about 4 years ago | 6 days ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | 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.
linqbox
-
TypeScript please give us types
Positioning the Ark parser as a unified string syntax for runtime types (to me at least) makes the rationales and justifications for string parsing much more apparent and focused, much more so than just saying "hey, here's a library to write your types with strings just because". It also services as a prototypal implementation of what JS types "could" look like one day (if only we could drop the `scope` and `type` and just write the types naturally in JavaScript), I took a similar approach with https://github.com/sinclairzx81/linqbox many years ago.
-
What do you guys think of this SQL LINQ-like syntax?
Well, I wrote this ... https://github.com/sinclairzx81/linqbox, an actual LINQ syntax mostly for cartesian products (because cartesians with lambda are quite awkward after all)
-
Why we ditched GraphQL for tRPC
One shouldn't need to look OData query syntax. For a C# client querying an OData endpoint, one simply need only write LINQ. A problem that exists in current fashionable languages is they do not support anything resembling LINQ. (Although some options exist for Elixir (Ecto) and Rust (implemented via proceedural macro). As for JavaScript....I have tried https://github.com/sinclairzx81/linqbox
- Compiling typescript to.... SQL?
-
Why C# goes well with TypeScript
If you ask me, TypeScript is a legitimate successor to C#. The only stuff missing in TypeScript is LINQ (as you mentioned) which is why I wrote this, and System.Reflection which is why I wrote this.
- LINQ implemented in JavaScript Template Literals
-
Why are we still using ORMs?
Thanks for the response. Here's a fun library I wrote https://github.com/sinclairzx81/linqbox
- Query Expressions for JavaScript (LINQ)
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?
chiselstrike - ChiselStrike abstracts common backends components like databases and message queues, and let you drive them from a convenient TypeScript business logic layer
zod - TypeScript-first schema validation with static type inference
linq.ts - πLINQ for TypeScript
proposal-decorators - Decorators for ES6 classes
sharp-collections - TypeScript LINQ library implementing all .NET LINQ methods and some more.
trpc - π§ββοΈ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.
LInQer - The C# Language Integrated Queries ported for Javascript for amazing performance
monorepo
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
type-level-regexp - π€π Type-level RegExp, parse and match string in TypeScript type system.
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
typescript-runtime-type-benchmarks - π Benchmark Comparison of Packages with Runtime Validation and TypeScript Support