Installation
Install the main client package which includes all transport options:Available Transports
Feathers client supports multiple connection types:- REST - HTTP/HTTPS connections using fetch, axios, or superagent
- Socket.io - Real-time WebSocket connections with fallback transports
Quick Start
- Browser (REST)
- Browser (Socket.io)
- Node.js (REST)
- Node.js (Socket.io)
Using Services
Once connected, you can use services the same way as on the server:Query Parameters
All standard Feathers query parameters work on the client:Custom Headers
You can pass custom headers with requests (REST only):Real-time Events
When using Socket.io, you can listen to real-time service events:Error Handling
Feathers errors are automatically converted to proper error objects:TypeScript Support
Feathers client has full TypeScript support:Next Steps
Learn more about specific client transports:REST Client
Connect using HTTP with fetch, axios, or superagent
Socket.io Client
Real-time connections with WebSocket support