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

# Node.js SDK

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

## Install and use the Node.js SDK

The `@cinderlane/node` library exposes a factory function and typed methods for managing routes and audit exports. This SDK works in Node.js, edge runtimes, and any environment with standards-compatible fetch support. Version 1.8 provides full coverage of the Cinderlane v1 API, including route management and audit log exports.
<!-- thally-cite:v1:24750f3e9639af6e45d388059873520e52598deb2426f8aa327fb00d0d5a0a3b -->
<!-- thally-cite:v1:8398b8e08827e65d1864a22b631b226c6daf5bda31883c65b00b1460b54bd74f -->

```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);
```

## Configuration

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