[](https://www.npmjs.com/package/@hexcuit/server) [](https://github.com/hexcuit/server/actions/workflows/ci.yml) [


Hono RPC type-safe client for Project LoL Server
``bashStable release
npm install @hexcuit/server
Usage
`typescript
import { hcWithType, type Client } from '@hexcuit/server'// Create type-safe client
const client = hcWithType('https://your-api.com')
// Type-safe API calls
const result = await client.rank.$get({
query: { discordIds: ['123', '456'] },
})
// Type inference works automatically
const ranks = result.ranks // fully typed
`Development
$3
`bash
npm install
npm run dev
`$3
`bash
npm run deploy
`$3
For generating/synchronizing types based on your Worker configuration:
`bash
npm run cf-typegen
`$3
`bash
npm run build
`Publishing
This package is automatically published to npm via GitHub Actions:
- Stable release: When a changeset PR is merged
- Snapshot release: When any PR is merged to main (
@snapshot` tag)MIT