aerostack functions
Install and publish community functions — reusable units of logic from the Aerostack marketplace.
Community functions follow the Open Function Standard (OFS). When you install one, the code is copied directly into your project (not added as an npm dependency), giving you full control.
Install a function
Section titled “Install a function”aerostack functions install <username/slug># Install a payment processor functionaerostack functions install @acme/payment-processor
# Install by username/slugaerostack functions install johndoe/email-senderWhat happens:
- Downloads the function source
- Copies it to
src/modules/<slug>/ - Registers the route in your Hono app (for HTTP functions) automatically
src/modules/└── payment-processor/ ├── index.ts ├── types.ts └── README.mdPublish a function
Section titled “Publish a function”aerostack functions publishPublishes your function to the Aerostack marketplace. Must have an OFS-compliant function.json in the current directory.
Push / Pull
Section titled “Push / Pull”# Push local changes to a published functionaerostack functions push
# Pull latest version of an installed functionaerostack functions pull