Skip to content

Connections

Add a Program Connection

In Membrane, programs can use other programs by forming connections.

Above, the email program is selected as a connection from the dropdown menu, and the sms program is dragged from the Navigator.

Connections can be accessed in code by using the nodes export from the "membrane" module.

npm packages

You can also install npm packages as dependencies of a Membrane program. Just create a package.json file, add any packages to the dependencies object, and save the program.