httpc
Coloquent
httpc | Coloquent | |
---|---|---|
10 | 1 | |
177 | 191 | |
- | - | |
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.
Coloquent
-
Show HN: UpfrontJS – Data handling framework complementary to active records
I came to write this package as I was annoyed by code duplication when writing bespoke requests. Such as: unwrapping data, specifying the endpoint, transforming keys' casing etc. I looked around and saw there was no package that solved my issues and this was a gap in the ecosystem. Evidently I did not look good enough as since then I have found some alternatives: https://github.com/milroyfraser/sarala https://github.com/robsontenorio/vue-api-query https://github.com/DavidDuwaer/Coloquent
What are some alternatives?
functionless - Build serverless AWS applications with type-safe Components and easy-to-follow Conventions.
vue-api-query - 💎 Elegant and simple way to build requests for REST API
fayona - The Node.js version of .NetCore
sarala - Javascript library to communicate with RESTful API built following JSON API specification. inspired by Laravel’s Eloquent
go-req - Declarative golang HTTP client
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
hedera-json-rpc-relay - Implementation of Ethereum JSON-RPC APIs for Hedera
mistql - A query / expression language for performing computations on JSON-like structures. Tuned for clientside ML feature extraction.
heimdall - An enhanced HTTP client for Go
Ionic Framework - A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
prim-rpc - Easy-to-understand, type-safe, transport-agnostic RPC/IPC for JavaScript, supporting callbacks, batching, file handling, custom serialization, and more.
ionic - A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript. [Moved to: https://github.com/ionic-team/ionic-framework]