TypeScript SDK
Use the official TypeScript client from trusted server-side JavaScript runtimes.
Installation
npm install @luranta/sdkyarn add @luranta/sdkpnpm add @luranta/sdkbun add @luranta/sdkQuick start
import { Luranta } from "@luranta/sdk"
const luranta = new Luranta({
apiKey: process.env.LURANTA_API_KEY!,
})
const page = await luranta.jobs.list({
roles: ["software-engineering"],
limit: 3,
})
for (const job of page.data) {
console.log(job.title)
}Key features
| Feature | Behaviour |
|---|---|
| Resources | jobs, companies and reference collections |
| Pagination | Async cursor iterators stop on repeated or malformed cursors |
| Retries | Only explicit non-billable 408, 429 and selected 5xx responses |
| Raw responses | Request ID and billing headers remain available |
| Runtime | Bun, Node.js and browser-compatible fetch for trusted edge code |
Authentication
Pass the key from a server-side environment variable. Never put it in browser-delivered JavaScript, storage, analytics or URLs.