@adobe/contentlake-shared-request-handler

1.0.0 • Public • Published

Content Lake Shared - Request Handler

Supports handling HTTP and SQS requests in a lambda function.

This is one of the Content Lake Shared libraries.

Status

GitHub license

Usage

Install using:

npm install @adobe/contentlake-shared-request-handler

Use with:

import { RequestHandler } from '@adobe/contentlake-shared-request-handler';


const requestHandler = new RequestHandler()
  .withHandler(
    'some-action',
    (event, context) => someFunction(event, context),
  );

export const main = requestHandler.getMain();

Readme

Keywords

none

Package Sidebar

Install

npm i @adobe/contentlake-shared-request-handler

Weekly Downloads

25

Version

1.0.0

License

Apache-2.0

Unpacked Size

23.7 kB

Total Files

5

Last publish

Collaborators

  • stopp-adobe
  • dylandepass
  • djaeggi
  • adobehalls
  • fullcolorcoder
  • marbec
  • tripod
  • garthdb
  • lazd
  • adobe-admin
  • patrickfulton
  • trieloff
  • shazron
  • krisnye
  • dcpfsdk
  • natebaldwin
  • devongovett
  • aspro83
  • symanovi
  • dpfister
  • stefan-guggisberg
  • korra
  • rofe
  • kptdobe