Socket
Book a DemoInstallSign in
Socket

inngest

Package Overview
Dependencies
Maintainers
4
Versions
875
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inngest

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.

3.40.1
latest
Source
npmnpm
Version published
Weekly downloads
163K
-21.38%
Maintainers
4
Weekly downloads
 
Created

What is inngest?

Inngest is a JavaScript library designed to simplify the process of building event-driven applications. It provides tools for creating, managing, and executing serverless functions in response to events, making it easier to build scalable and efficient applications.

What are inngest's main functionalities?

Event Creation

This feature allows you to create events that can be used to trigger functions. The code sample demonstrates how to create a new event with a specific name and data payload.

const { Inngest } = require('inngest');
const inngest = new Inngest({ name: 'My App' });

const event = inngest.createEvent({
  name: 'user.signup',
  data: { userId: '12345' }
});

Function Registration

This feature allows you to register functions that will be executed in response to specific events. The code sample shows how to register a function that sends a welcome email when a 'user.signup' event occurs.

const { Inngest } = require('inngest');
const inngest = new Inngest({ name: 'My App' });

inngest.registerFunction('Send Welcome Email', 'user.signup', async (event) => {
  console.log(`Sending welcome email to user ${event.data.userId}`);
});

Event Handling

This feature allows you to define how events are handled when they occur. The code sample demonstrates how to handle a 'user.signup' event by logging a message.

const { Inngest } = require('inngest');
const inngest = new Inngest({ name: 'My App' });

inngest.handleEvent('user.signup', async (event) => {
  console.log(`Handling signup for user ${event.data.userId}`);
});

Other packages similar to inngest

Keywords

inngest

FAQs

Package last updated on 07 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.