5.1.0 • Published 2 years ago

arc-functions v5.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

@architect/functions

Runtime helper library for serverless apps built with Architect

GitHub CI status

Check out the full docs: arc.codes

Install

npm i @architect/functions

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 methods

@tables methods

@ws methods