arc-functions

5.1.0 • Public • Published

@architect/functions

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

/arc-functions/

    Package Sidebar

    Install

    npm i arc-functions

    Weekly Downloads

    1

    Version

    5.1.0

    License

    Apache-2.0

    Unpacked Size

    57.7 kB

    Total Files

    34

    Last publish

    Collaborators

    • frankleng