
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
The pulse system is a type-safe business logic framework built on BullMQ that handles both synchronous and asynchronous operations.
Actions are business operations defined with schemas and executed through a centralized runtime. Think of it as a typed RPC system with built-in queuing.
Install the package:
npm install the-pulse
Create a Pulse instance with your app config:
import { Pulse } from 'the-pulse';
const pulse = new Pulse({
appName: 'MyApp',
actionConfigFactory: ({ name, module }) => ({
// Custom config per action
}),
queue: {
host: 'localhost',
port: 6379,
// Other ioredis options
}
});
import { A, G } from 'the-pulse';
const AuthAction = G({
signup: A('auth.signup')
.input(SignupSchema)
.output(UserSchema)
.sync(), // Mark as sync → runs immediately
mail: {
sendWelcome: A('auth.mail.sendWelcome')
.input(EmailSchema)
.output(EmailResultSchema)
// Default is async → uses queue
}
});
module.registerHandlers({
signup: async ({ input }) => {
const user = await createUser(input);
return { output: user };
},
mail: {
sendWelcome: async ({ input }) => {
const result = await sendEmail(input);
return { output: result };
}
}
});
import { callAction, scheduleAction } from 'the-pulse';
// Sync: runs immediately
const user = await callAction(AuthAction.signup, { input });
// Async: queued via BullMQ
const job = await scheduleAction(AuthAction.mail.sendWelcome, { input });
.sync()) or queued (default).settings({ cron: 'every_day' })){ input } and return { output }Pulse → manages all modules and queue Module → registers handlers for an action group Queue → BullMQ wrapper for async execution ActionDef → builder for defining action schemas
The system centralizes business logic, decouples sync/async execution, and provides consistent observability across all operations.
FAQs
Type-safe business action framework for sync and async operations.
We found that the-pulse demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.