Installation
Installing @hulla/api
is super simple. It has 0 dependencies and works pretty much anywhere.
Package Manager | Command |
---|---|
pnpm | pnpm add @hulla/api |
bun | bun add @hulla/api |
yarn | yarn add @hulla/api |
npm | npm install @hulla/api |
deno | import { api } from 'https://deno.land/x/hulla_api@v1.0.5/index.ts' |
And we’re good to go! 🚀
Where to next?
If you’re not sure where to start, either check the Quick Start or explore the Core Concepts section as a recommended starting point.
At the very least, you’ll need to understand the following concepts:
If you’re already familiar with API/RPC managers, feel free to dive straight into specific examples.
Example Reference
Library/Framework/Package | Server | Client |
---|---|---|
React | ✅ | ✅ |
Next | ✅ | ✅ |
Astro | ✅ | ✅ |
Remix | ✅ | ✅ |
Solid | ✅ | ✅ |
Vue & Nuxt | ✅ | ✅ |
React Native & expo | N/A | ✅ |
@tanstack/query | N/A | ✅ |
swr | N/A | ✅ |
Even if your favourite framework isn’t listed here, 99% chance it’s compatible with @hulla/api
— all the package does is organize the calls for you. It does not implement any fetching logic under the hood, that’s up to you to provide! If you follow best practices it will work anywhere, be it server, client or a service worker.