# eserve

> eServe is a express server with simple API for static files serving and http proxing. The problem that eServe is solving is a simple API based library that mounts static files and HTTP proxies onto express app and serves them.

Latest version **1.0.0** (published 2016-05-08) · ISC license · 0 weekly downloads

## Install

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

## 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.0.0 |
| Published | 2016-05-08 |
| First published | 2016-05-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 11 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | tomas-sereikis |

## Links

- npm: https://www.npmjs.com/package/eserve
- Repository: https://github.com/Tomas-Sereikis/eserve
- Homepage: https://github.com/Tomas-Sereikis/eserve#readme
- Issues: https://github.com/Tomas-Sereikis/eserve/issues
- npm.io page: https://npm.io/package/eserve

## Dependencies (11)

- [colors](https://npm.io/package/colors.md) ^1.1.2
- [morgan](https://npm.io/package/morgan.md) ^1.7.0
- [defined](https://npm.io/package/defined.md) ^1.0.0
- [express](https://npm.io/package/express.md) ^4.13.4
- [winston](https://npm.io/package/winston.md) ^2.2.0
- [is-object](https://npm.io/package/is-object.md) ^1.0.1
- [dateformat](https://npm.io/package/dateformat.md) ^1.0.12
- [is-defined](https://npm.io/package/is-defined.md) ^1.0.0
- [serve-static](https://npm.io/package/serve-static.md) ^1.10.2
- [express-http-proxy](https://npm.io/package/express-http-proxy.md) ^0.6.0
- [http-proxy-middleware](https://npm.io/package/http-proxy-middleware.md) ^0.15.0

## Recent versions

- 1.0.0 (latest) — 2016-05-08

## README

## eServe

eServe is a express server with simple API for static files serving and http proxing.
The problem that eServe is solving is a simple API based library that mounts static files and HTTP proxies onto express app and serves them.

### Example

Install eServe

`npm install eserve --save`


Your index.js or some other file for serving and proxing.

```javascript
const eserve = require('eserve');

// serve build files
eserve.statics('build');
// serve proxy api
eserve.proxy('/api/fixer', 'http://api.fixer.io/latest');
// start server on 3000 port and localhost
eserve.start(3000, 'localhost');
```

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