Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
inngest-cli
Advanced tools
Run reliable serverless functions in the background. Inngest allows you to schedule, enqueue, and run serverless functions in the background reliably with retries on any platform, with zero infrastructure, fully locally testable. Learn more: https://www.inngest.com.
The local development UI:
Inngest makes it simple for you to write delayed or background jobs by triggering functions from events — decoupling your code from 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.
We created Inngest to bring the benefits of event-driven systems to all developers, without having to write any code themselves. We believe that:
Read more about our vision and why this project exists
npm install inngest
npx inngest@latest dev
. That's this cli.serve() handler
Here's an example:
import { createStepFunction } from "inngest";
// This function runs on any platform in the background with retries any time
// the app/user.signup event is received - automatically.
export const signupFlow = createStepFunction("post-signup", "app/user.signup",
function ({ event, tools }) {
// Send the user an email
tools.run("Send an email", async () => {
await sendEmail({
email: event.user.email,
template: "welcome",
})
})
})
That's it - your function is set up!
Fundamentally, there are two core pieces to Inngest: events and functions. Functions have several sub-components 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.
FAQs
The event-driven queue for any language.
The npm package inngest-cli receives a total of 21,200 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 0 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.