# ponse

> Module for work with requests and responses

Latest version **8.0.2** (published 2026-04-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install ponse
pnpm add ponse
yarn add ponse
bun add ponse
```

Provides the command `ponse`.

## Health

**Score 55/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 8.0.2 |
| Published | 2026-04-28 |
| First published | 2014-08-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=22 |
| Dependencies | 5 |
| Unpacked size | 22.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | coderaiser |
| Maintainers | coderaiser |
| Keywords | request, response, send, parse |

## Links

- npm: https://www.npmjs.com/package/ponse
- Repository: https://github.com/coderaiser/ponse
- Homepage: http://github.com/coderaiser/ponse
- Issues: https://github.com/coderaiser/ponse/issues
- npm.io page: https://npm.io/package/ponse

## Dependencies (5)

- [debug](https://npm.io/package/debug.md) ^4.1.0
- [itype](https://npm.io/package/itype.md) ^3.0.1
- [files-io](https://npm.io/package/files-io.md) ^4.0.0
- [file-type](https://npm.io/package/file-type.md) ^21.0.0
- [try-to-catch](https://npm.io/package/try-to-catch.md) ^4.0.5

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 8.0.2 (latest) — 2026-04-28
- 8.0.1 — 2026-04-28
- 8.0.0 — 2026-04-28
- 7.0.0 — 2022-04-22
- 6.0.0 — 2021-01-25
- 5.1.1 — 2020-04-23
- 5.1.0 — 2020-04-23
- 5.0.1 — 2020-02-26
- 5.0.0 — 2020-02-21
- 4.0.0 — 2019-12-15
- 3.5.1 — 2019-12-13
- 3.5.0 — 2019-12-13
- 3.4.1 — 2019-09-11
- 3.4.0 — 2019-08-23
- 3.3.1 — 2019-08-23
- … 43 more at https://npm.io/package/ponse/versions

## README

# Ponse [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]

![image](https://user-images.githubusercontent.com/1573141/223524904-4175548f-1e30-4745-bf2e-c2f4ea39fef5.png)

[NPMURL]: https://npmjs.org/package/ponse "npm"
[NPMIMGURL]: https://img.shields.io/npm/v/ponse.svg?style=flat
[BuildStatusURL]: https://github.com/coderaiser/ponse/actions?query=workflow%3A%22Node+CI%22 "Build Status"
[BuildStatusIMGURL]: https://github.com/coderaiser/ponse/workflows/Node%20CI/badge.svg
[LicenseURL]: https://tldrlegal.com/license/mit-license "MIT License"
[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
[CoverageURL]: https://coveralls.io/github/coderaiser/ponse?branch=master
[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/ponse/badge.svg?branch=master&service=github

Module for work with requests and responses

## Install

`npm i ponse --save`

## Api

**isGZIP(request)** check is gzip supported

- http request

**getPathName(request || string)** - get pathname

- http request

**getQuery(request || string)** - get query

- http request

**createStatic(options)** - serve static content

- options:
  - cache
  - root

**send(data, params)** - send data

## License

MIT

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