---
title: Node.js SDK
description: Use the typed Cinderlane client from Node.js and edge-compatible runtimes.
url: https://pr-6-df95adf6d023.thally.app/sdk/node
---

# Node.js SDK

Use the typed Cinderlane client from Node.js and edge-compatible runtimes.

`@cinderlane/node` 1.7 exposes one factory and typed methods for managing routes and audit exports:

```ts
const cinderlane = createCinderlaneClient({ apiKey });

// Routes
await cinderlane.createRoute({ name, destination });
await cinderlane.listRoutes();
await cinderlane.getRoute(routeId);

// Audit exports
await cinderlane.createAuditExport({ format, from, to });
await cinderlane.listAuditExports();
await cinderlane.getAuditExport(exportId);
```

Set `baseUrl` only for an approved proxy or local test. You can inject a
standards-compatible `fetch` implementation for testing.