MEMBRANE
BETA
What is Membrane?
Stateful serverless TypeScript for internal tools.
FEATURESEXAMPLES
example mailchimp alerts
Example of a Membrane program that send a sms when a new subscriber is subscribed to a Mailchimp audience.
Subscribe to event
Send SMS notification
import { nodes, root, state } from "membrane";
const { mailchimp } = nodes;
export async function configure({ audienceId }) {
const audience = mailchimp.audiences.one({ id: audienceId });
state.name = await audience.name;
await audience.subscribed.$subscribe(root.handler);
}
export async function handler(_, { event }) {
await nodes.sms.send({
message: `New subscriber on "${state.name}": ${event.email}`,
});
}
What is Membrane?
Stateful serverless TypeScript for internal tools.
FEATURESEXAMPLES
Features Walkthrough
Communication
- 2023.08.20 Progress Update #3 Simpler function signatures, built-in Google auth.
- 2023.08.13 Progress Update #2 Windows support and OOM handling.
- 2023.07.30 Progress Update #1 Internal logging architecture, improved HTTP UI.
- 2023.07.14 Progress Update #0 Exit nodes and Program Replays.
Enter your email for occasional updates