xior
Make HTTP requests using a lightweight fetch wrapper. Offers an Axios-like API, plugin support for caching, retries, throttling, and more. Works universally.
Xior is a lightweight HTTP request library built on the native fetch API, offering a familiar interface similar to Axios. Key features include:
- Axios-like API: Provides
create,interceptors, and standard HTTP methods (get,post, etc.). - Plugin Support: Extensible via plugins for error retry, request deduplication, throttling, caching (including error caching), mocking, and upload/download progress simulation.
- Request Control: Supports request timeouts and cancellation using
AbortController. - Nested Query Encoding: Handles complex URL parameter encoding automatically.
- Lightweight: Minimal footprint (~6KB, Gzip ~3KB).
- Strongly Typed: Built with TypeScript for better developer experience.
It's suitable for environments supporting fetch, including browsers, Node.js, Bun, Deno, React Native, and server-side rendering frameworks. You can easily integrate custom fetch implementations or proxies.
Categories:
Tags:
Similar to xior:
Flexible JavaScript ORM for Node.js database interactions.
JavaScript & TypeScriptORMs
Build Node.js applications with a flexible JavaScript ORM. Features promise/callback interfaces, transactions, eager loading, and relations for PostgreSQL, MySQL, SQLite3.
Markdown to docs site, no build needed.
DocumentationJavaScript & TypeScript
Generate documentation sites dynamically from Markdown files. Creates lightweight, single-page application sites without requiring a static build step.
Build optimized websites quickly, focus on your content.
DocumentationJavaScript & TypeScript
Quickly build optimized websites like docs, blogs, or landing pages using React. Write content easily with MDX support and leverage built-in versioning and search.
Minimalist, flexible web framework for Node.js.
Full-stack Web FrameworksJavaScript & TypeScript
Build fast web applications and APIs with this minimal, flexible Node.js framework. Offers robust features and a large middleware ecosystem for extensibility.
Tiny & elegant Fetch API wrapper for JS
HTTP for JSJavaScript & TypeScript
Make HTTP requests easily with this tiny, elegant client built on the Fetch API. Offers a simpler API, retries, timeouts, hooks, and improved JSON handling.
TypeScript ORM for Node.js: Data Mapper, UoW, SQL & NoSQL.
JavaScript & TypeScriptORMs
Build Node.js apps with a TypeScript ORM using Data Mapper and Unit of Work patterns. Supports SQL/NoSQL, offers schema tools, and automatic query batching.
Type-safe ORM for Node.js, TypeScript & Browser.
JavaScript & TypeScriptORMs
Query SQL databases in Node/TS with strong typing. Features Active Record style, no code gen, powerful filters, and secure browser access via Express plugin.
Next-gen ORM for simplified, type-safe database access.
JavaScript & TypeScriptORMs
Interact with databases using a type-safe ORM for Node.js/TypeScript. Features automated migrations, intuitive schema, connection pooling, and caching.
Modern ORM for TypeScript & Node.js SQL databases.
JavaScript & TypeScriptORMs
Manage database interactions in Node.js/TypeScript apps. Supports transactions, relations, eager/lazy loading, and multiple SQL databases like Postgres & MySQL.