Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
inngest-cli
Advanced tools
Inngest is the developer platform for easily building reliable workflows with zero infrastructure.
npx inngest-cli@latest dev
Inngest makes it easy to develop serverless workflows in your existing codebase, without any new infrastructure. Inngest Functions are triggered via events — decoupling your code within your application.
Inngest abstracts the complex parts of building a robust, reliable, and scalable architecture away from you, so you can focus on writing amazing code and building applications for your users.
step
tools like run
, sleep
, sleepUntil
, and waitForEvent
that you can combine using code and patterns that you're used to create complex and robust workflows.Read more about our vision and why Inngest exists
👉 Read the full quick start guide here
npm install inngest
npx inngest-cli@latest dev
(This repo's CLI)serve()
handlerHere's an example:
import { Inngest } from "inngest";
const inngest = new Inngest({ id: "my-app" });
// This function will be invoked by Inngest via HTTP any time the "app/user.signup"
// event is sent to to Inngest
export default inngest.createFunction(
{ name: "User onboarding communication" },
{ event: "app/user.signup" },
async ({ event, step }) => {
await step.run("Send welcome email", async () => {
await sendEmail({
email: event.data.email,
template: "welcome",
});
});
}
);
// Elsewhere in your code (e.g. in your sign up handler):
inngest.send({
name: "app/user.signup",
data: {
email: "test@example.com",
},
});
That's it - your function is set up!
Fundamentally, there are two core pieces to Inngest: events and functions. Functions have several subcomponents for managing complex functionality (eg. steps, edges, triggers), but high level an event triggers a function, much like you schedule a job via an RPC call to a queue. Except, in Inngest, functions are declarative. They specify which events they react to, their schedules and delays, and the steps in their sequence.
Inngest’s architecture is made up of 6 core components:
And, in this CLI:
For specific information on how the DevServer works and how it compares to production read this doc.
We’re excited to embrace the community! We’re happy for any and all contributions, whether they’re feature requests, ideas, bug reports, or PRs. While we’re open source, we don’t have expectations that people do our work for us — so any contributions are indeed very much appreciated. Feel free to hack on anything and submit a PR.
Check out our contributing guide to get started.
[v0.25.0] - 2024-01-25
FAQs
The leading workflow orchestration platform. Run stateful step functions and AI workflows on serverless, servers, or the edge.
The npm package inngest-cli receives a total of 18,793 weekly downloads. As such, inngest-cli popularity was classified as popular.
We found that inngest-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.