databases

Database clients

ai apis

AI model APIs

external apis

External services

frameworks

Frameworks

don't see your stack?

Any async function works

slowdep wraps any function that returns a Promise. If your library or client isn't listed, wrap its methods directly:

import { withLatency, withLatencyAll } from 'slowdep';

// Wrap a single method
const slowSend = withLatency(client.send.bind(client), {
  p50: 50, p99: 400, errorRate: 0.005,
});

// Wrap all async methods on a client object
const slowClient = withLatencyAll(client, { p50: 50, p99: 400 });