Skip to content

frankleng/arc-functions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Runtime helper library for serverless apps built with [Architect][npm]

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

  • static()

@tables methods

@ws methods

  • ws.send()
  • ws.close()
  • ws.info()
  • ws._api

About

AWS Lambda Node runtime helpers for Architect apps

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Arc 0.1%