# get-post-data

> This method get request post data "in string". May use with native http server and express or other.

Latest version **0.0.3** (published 2016-11-07) · 0 weekly downloads

## Install

```sh
npm install get-post-data
pnpm add get-post-data
yarn add get-post-data
bun add get-post-data
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2016-11-07 |
| First published | 2016-11-05 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | klyuchev |

## Links

- npm: https://www.npmjs.com/package/get-post-data
- npm.io page: https://npm.io/package/get-post-data

## Recent versions

- 0.0.3 (latest) — 2016-11-07
- 0.0.2 — 2016-11-05
- 0.0.1 — 2016-11-05

## README

# get-post-data
This method get request post data "in string". May use with native http server and express or other.

#Example
~~~
const http = require('http'),
    getPostData = require('get-post-data');
    
http.createServer((req, res) => {
    getPostData(req, (error, postBody) => {
        if (error) {
            // handle error
        }
        console.log(postBody); // <-- print postBody in console.
    }):
}).listen(8888);

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