# combo-handler

> a middleware for express and koa to handle combo url

Latest version **1.1.0** (published 2014-12-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install combo-handler
pnpm add combo-handler
yarn add combo-handler
bun add combo-handler
```

## 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.1.0 |
| Published | 2014-12-25 |
| First published | 2014-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | yiminghe |
| Maintainers | yiminghe |

## Links

- npm: https://www.npmjs.com/package/combo-handler
- Repository: http://github.com/yiminghe/combo-handler
- Homepage: https://github.com/yiminghe/combo-handler
- Issues: https://github.com/yiminghe/combo-handler/issues
- npm.io page: https://npm.io/package/combo-handler

## Dependencies (1)

- [mime](https://npm.io/package/mime.md) ^1.2.11

## Recent versions

- 1.1.0 (latest) — 2014-12-25
- 1.0.1 — 2014-08-13
- 1.0.0 — 2014-08-11

## README

# combo-handler

a middleware for express and koa to handle combo url

## example

### express
``` javascript
var app = require('express')();
var comboHandler = require('comboHandler');
app.use('/',comboHandler({
    base: '/assets/'
}));
app.listen(80);
```

### koa
``` javascript
var app = require('koa')();
var comboHandler = require('comboHandler/lib/koa');
app.use(comboHandler({
    base: '/assets/'
}));
app.listen(80);
```

navigate to http://localhost/??1.js,2.js will output combined file content from /assets/1.js and /assets/2.js

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