# gcf-body-parser

> Parses request body in Google Cloud Functions

Latest version **1.0.0** (published 2020-07-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install gcf-body-parser
pnpm add gcf-body-parser
yarn add gcf-body-parser
bun add gcf-body-parser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-07-27 |
| First published | 2020-07-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | oglover |

## Links

- npm: https://www.npmjs.com/package/gcf-body-parser
- npm.io page: https://npm.io/package/gcf-body-parser

## Recent versions

- 1.0.0 (latest) — 2020-07-27

## README

```
npm install gcf-body-parser
```

## Usage
```js

let requestBody = require('gcf-body-parser')

// Cloud function
exports.cloudFunction = async(req, res) => {
    
    // Parse the request body
    let body = requestBody(req)

    // Print the output to the console
    console.log(JSON.stringify(body))
}

```

---
_Source: https://npm.io/package/gcf-body-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
