@adobe/helix-shared-body-data
TypeScript icon, indicating that this package has built-in type declarations

2.1.6 • Public • Published

Helix Shared - Body Data Wrapper

When writing universal serverless functions with Helix Universal, then helix-shared-body-data will wrap your function to parse the request and put body data from form or JSON POSTs or PUTs into context.data

Usage

import wrap from '@adobe/helix-shared-wrap';
import bodyData from '@adobe/helix-shared-body-data';



export const main = wrap(run)
  .with(bodyData);

/@adobe/helix-shared-body-data/

    Package Sidebar

    Install

    npm i @adobe/helix-shared-body-data

    Weekly Downloads

    474

    Version

    2.1.6

    License

    Apache-2.0

    Unpacked Size

    39.6 kB

    Total Files

    6

    Last publish

    Collaborators

    • doten
    • 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