Socket
Socket
Sign inDemoInstall

@architect/functions

Package Overview
Dependencies
19
Maintainers
6
Versions
279
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @architect/functions

Runtime utility library for Functional Web Apps (FWAs) built with Architect (https://arc.codes)


Version published
Weekly downloads
6.1K
decreased by-19.94%
Maintainers
6
Created
Weekly downloads
 

Readme

Source
Architect Logo

@architect/functions

Runtime utility library for Functional Web Apps (FWAs) built with [Architect][https://arc.codes]

GitHub CI status

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 Lambda package.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

@events methods

@http methods

@queues methods

Service discovery

@static

@tables methods

@ws methods

Keywords

FAQs

Last updated on 25 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc