httpc
fayona
httpc | fayona | |
---|---|---|
10 | 1 | |
177 | 5 | |
- | - | |
8.2 | 0.0 | |
6 months ago | about 1 year 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.
httpc
-
How do i handle errors globally in node?
If you don't use any framework, I recommend you look httpc which allows you to write functions as API calls. And comes with nice centralized error handling.
-
trpc or zodios or ts-rest? which one to choose?
Would you like to give a look at httpc?
-
Does Express Typescript have an equivilent to this from ASP.NET
If you more keen on natural or functional JavaScript, you can checkout httpc which integrates natively with a validator so you can define your models to have input parameters validated. Checkout the validation page and the section class-validator where you can define models and properties with any validation.
-
[Nestia] 15,000x faster validators and tRPC (SDK) for NestJS
I would like to integrate the validator with httpc, an API framework with pluggable validators. I need some guidance, as it seems it doesn't support generic calls: ts validate(object: unknown): T { // validate here } Is there a way to define a schema or something, or you need to be explicit with the exact type with any validation call?
-
httpc: Build function-based API with minimal code and end-to-end type safety
httpc is a framework for building function-based API with minimal code and end-to-end type safety. In addition to rpc-style requests, an httpc server can treat any http request as a function call, allowing to handle browser forms, webhooks callbacks and so on.
-
Browser Session vs JWT tokens for authentication system for an app?
If you have time you can check httpc, that I recently released to build API with a function-based approach. The docs show how to use JWT too. Any feedback is appreciated.
-
Build function-based API with minimal code and end-to-end type safety
For now documentation covers initial steps and basic scenarios. Full documentation is working in progress, as there're lots of areas to cover. Head to issues or discussions for any info or requests.
fayona
What are some alternatives?
functionless - Build serverless AWS applications with type-safe Components and easy-to-follow Conventions.
Ts.ED - :triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work!
go-req - Declarative golang HTTP client
hedera-json-rpc-relay - Implementation of Ethereum JSON-RPC APIs for Hedera
heimdall - An enhanced HTTP client for Go
prim-rpc - Easy-to-understand, type-safe, transport-agnostic RPC/IPC for JavaScript, supporting callbacks, batching, file handling, custom serialization, and more.
Coloquent - Javascript/Typescript library mapping objects and their interrelations to JSON API, with a clean, fluent ActiveRecord-like (e.g. similar to Laravel's Eloquent) syntax for creating, retrieving, updating and deleting model objects.
hackney - simple HTTP client in Erlang