Skip to content

AWS Lambda Node runtime helpers for Architect apps

Notifications You must be signed in to change notification settings

architect/functions

Folders and files

NameName
Last commit message
Last commit date
Jan 25, 2025
Apr 22, 2025
Mar 29, 2025
Mar 19, 2025
Apr 12, 2023
Feb 11, 2020
Mar 29, 2025
Nov 20, 2021
Apr 29, 2024
Mar 29, 2025
Aug 14, 2023

Repository files navigation

Architect Logo

Runtime utility library for Functional Web Apps (FWAs) built with [Architect][https://arc.codes]

GitHub CI status

Check out the full docs for this library and Architect

Install

Within your Architect project directory, add @architect/function to its root package.json:

npm i @architect/functions

You may also add @architect/function to individual Lambda package.json files, but we suggest making use of Architect's automated Lambda treeshaking. See the Architect dependency management guide for more details.

Usage

let {
  events,   // @events pub/sub
  http,     // @http middleware + tools
  queues,   // @queues pub/sub
  services, // Architect resource / service discovery
  static,   // @static asset helper
  tables,   // @tables DynamoDB helper methods + API client
  ws,       // @ws WebSocket helper + API client
} = require('@architect/functions')

API

@events methods

@http methods

@queues methods

Service discovery

@static

@tables methods

@ws methods