JSPM

@architect/functions

5.3.4-RC.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5177
  • Score
    100M100P100Q120105F
  • License Apache-2.0

Cloud function signatures for HTTP handlers, pub/sub + scheduled, queued functions, table triggers, and more

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 Logo

@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

@tables methods

@ws methods