Package Exports
- @architect/functions
- @architect/functions/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@architect/functions) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme

@architect/functions
Runtime utility library for Functional Web Apps (FWAs) built with [Architect][https://arc.codes]
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 Lambdapackage.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
Service discovery