# express-route-easy

> Express route easy

Latest version **1.1.3** (published 2018-07-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install express-route-easy
pnpm add express-route-easy
yarn add express-route-easy
bun add express-route-easy
```

## 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.3 |
| Published | 2018-07-04 |
| First published | 2018-07-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | William Vilas Boas |
| Maintainers | william_vilasboas |
| Keywords | Express, route, easy |

## Links

- npm: https://www.npmjs.com/package/express-route-easy
- Repository: https://github.com/williamvilasboas/express-route-easy
- Homepage: https://github.com/williamvilasboas/express-route-easy#readme
- Issues: https://github.com/williamvilasboas/express-route-easy/issues
- npm.io page: https://npm.io/package/express-route-easy

## Dependencies (1)

- [express](https://npm.io/package/express.md) ^4.16.3

## Alternatives

- [express-promise-router](https://npm.io/package/express-promise-router.md) — 736.1K weekly downloads
- [next-usequerystate](https://npm.io/package/next-usequerystate.md) — 29.8K weekly downloads
- [@bitkyc08/opencodex](https://npm.io/package/@bitkyc08/opencodex.md) — 4.6K weekly downloads
- [lynkr](https://npm.io/package/lynkr.md) — 575 weekly downloads
- [baremetal.js](https://npm.io/package/baremetal.js.md) — 42 weekly downloads

## Recent versions

- 1.1.3 (latest) — 2018-07-04
- 1.1.2 — 2018-07-03
- 1.1.1 — 2018-07-03
- 1.1.0 — 2018-07-03
- 1.0.0 — 2018-07-03

## README

# express-route-easy

## Install

This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/). Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):

```sh
$ npm i express-route-easy
```

## Examples

### Using with

### Using with `express`

```js
const express = require('express')
const app = express()

const easy = require('express-route-easy')

exports.import = ['/import', async (req, res, next) => {
  res.send({go: 'the force awakens'})
}]

exports.export = ['/export', async (req, res, next) => {
  res.send({go2: 'the force awakens'})
}]

exports.routes = easy([], exports)

app.use('/v1', exports.routes)
```

## License

[MIT](LICENSE)

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