Skip to main content
Home

@inngest/sdk@3.39.0
Built and signed on GitHub Actions

Official SDK for Inngest.com. Inngest is the reliability layer for modern applications. Inngest combines durable execution, events, and queues into a zero-infra platform with built-in observability.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
64%
Published
2 days ago (3.39.0)

The primary entrypoint for the Inngest SDK. This provides all the necessary exports to create, run, and trigger Inngest functions.

Typical usage involves creating a new Inngest client with Inngest, and then using the client to create functions, middleware, and other tools.

See https://www.inngest.com/docs for more information.

Examples

Create an Inngest client

const inngest = new Inngest({
  id: "my-app-id",
});

Create an Inngest function

const myFn = inngest.createFunction({
 id: "my-function",
}, {
  event: "user/created",
}, async ({ event, step }) => {
  console.log("User created:", event.data);
});

Send an event

await inngest.send({
  name: "user/created",
  data: {
    id: "123",
  },
});
Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@inngest/sdk

Import symbol

import * as sdk from "@inngest/sdk";
or

Import directly with a jsr specifier

import * as sdk from "jsr:@inngest/sdk";

Add Package

pnpm i jsr:@inngest/sdk
or (using pnpm 10.8 or older)
pnpm dlx jsr add @inngest/sdk

Import symbol

import * as sdk from "@inngest/sdk";

Add Package

yarn add jsr:@inngest/sdk
or (using Yarn 4.8 or older)
yarn dlx jsr add @inngest/sdk

Import symbol

import * as sdk from "@inngest/sdk";

Add Package

vlt install jsr:@inngest/sdk

Import symbol

import * as sdk from "@inngest/sdk";

Add Package

npx jsr add @inngest/sdk

Import symbol

import * as sdk from "@inngest/sdk";

Add Package

bunx jsr add @inngest/sdk

Import symbol

import * as sdk from "@inngest/sdk";