What is Membrane?

A fast, powerful way to write internal tools in TypeScript, connecting the apps you already use at work.

FEATURES
EXAMPLES
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?

A fast, powerful way to write internal tools in TypeScript, connecting the apps you already use at work.

FEATURES
EXAMPLES
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}`,
  });
}
Communication

If you're curious about Membrane's architecture, Juan joined the devtools.fm podcast to talk through the nuts and bolts.



Enter your email for occasional updates