arktype
trpc
arktype | trpc | |
---|---|---|
43 | 36 | |
3,895 | 34,800 | |
1.5% | 0.9% | |
9.3 | 9.7 | |
2 days ago | 7 days 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.
arktype
-
Type-Safe Env Vars in Remix - A modern approach with ArkType
Aside from updating Remix (from 1.7 to 2.9) and switching from Zod to ArkType, I’ve introduced a makeTypedEnvironment helper to streamline handling environment variables in both server and client environments. Additionally, I’ve optimized the codebase by removing the typedPick method and refining imports to ensure server code doesn’t leak into the client bundle.
-
Using Arktype in Place of Zod - How to Adapt Parsers
Arktype has been on my radar for a while now, it offers similar validation capabilities but with some unique features that caught my eye, like the way it lets you define validators using the same syntax you use to define types.
-
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.
trpc
-
【TypeScript】Displaying ChatGPT-like Streaming Responses with trpc in React
pnpx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
-
Key differences between GraphQL and RESTful API
RESTful API: RESTful API does not have machine-readable metadata cacheable, and query validation is not available.(There are some libraraies tried to solve this issue like TRPC)
-
Implementing Authorization with Clerk in a tRPC app running on a Cloudflare Worker
tRPC + Cloudflare Workers Example
- how to improve UX of checking changes in ONE file though git history
-
trpc + nextjs app dir + fetchRequestHandler
Hi I'm working with trpc + nextjs app dir (unsupported by trpc currently) and trpc context
-
TRPC invalidation app directory
I'm using TRPC with Next13 App directory and I can't manage to invalidate queries. Seing from their example there is a way to do it https://github.com/trpc/trpc/blob/96956e790e6862bcc6dcc4622edc8e48da0adbcb/examples/.experimental/next-app-dir/src/app/post-example/page.tsx
-
tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy
It is. But RSC make many library authors and maintainers question whether their library is still needed in a RSC world and if so how they can support it. Same story with tRPC https://github.com/trpc/trpc/issues/3297
-
trpc VS prim-rpc - a user suggested alternative
2 projects | 23 Jul 2023
-
T3\tRPC - How do you change the cache?
Also, while trying to debug this, and this is way outside my league but I noticed this: Is there possibly an error in the Updater TS-definitions in https://github.com/trpc/trpc/blob/main/packages/react-query/src/shared/proxy/utilsProxy.ts at lines 155+156 & 167+168 because they are duplicate-lines and seems to be where my issues are coming from.
-
SPARTAN. Type-safe Angular full-stack development powered by Analog.
Unfortunately, tRPC and NestJs do not play well together by default, and the tRPC team does not intend to integrate the two through an official plugin for the time being.
What are some alternatives?
zod - TypeScript-first schema validation with static type inference
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
proposal-decorators - Decorators for ES6 classes
domain-functions - Decouple your business logic from your framework. With first-class type inference from end to end. [Moved to: https://github.com/seasonedcc/domain-functions]
reflect-metadata - Prototype for a Metadata Reflection API for ECMAScript
graphql-zeus - GraphQL client and GraphQL code generator with GraphQL autocomplete library generation ⚡⚡⚡ for browser,nodejs and react native ( apollo compatible )
type-level-regexp - 🔤🔍 Type-level RegExp, parse and match string in TypeScript type system.
denodb - MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
typescript-needs-types - TypeScript please give us types.
MySQL - A pure node.js JavaScript Client implementing the MySQL protocol.
monorepo
strapi-mongo-next - NextJs frontend, Strapi backend API, and MongoDb. A full-stack sample business website styled with the latest Material-Ui.