# connect-request-type-override

> Request type override middleware for connect

Latest version **0.1.0** (published 2013-02-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install connect-request-type-override
pnpm add connect-request-type-override
yarn add connect-request-type-override
bun add connect-request-type-override
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2013-02-22 |
| First published | 2013-02-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tomislav Capan |
| Maintainers | zappan |
| Keywords | connect, express, middleware, json |

## Links

- npm: https://www.npmjs.com/package/connect-request-type-override
- Repository: git@github.com:zappan/connect-request-type-override
- npm.io page: https://npm.io/package/connect-request-type-override

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.1.0 (latest) — 2013-02-22

## README

# Connect Request Type Override Middleware

A Node.js [Connect framework](https://github.com/senchalabs/connect) *middleware* for overriding any request type with
'application/json' to allow for easier testing of the REST API calls.

Includes option for overriding default accept headers by specifying the extension of `.json` to the url, or passing
query string parameter `?format=json` which will both force serving the REST API JSON response data.


## History

  * **0.1.0** - [2012-12-03] Initial release

## License

This library is licensed under the **MIT License**

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