# @yandeu/express-dev

> Simple Express.js wrapper for development.

Latest version **0.0.0** (published 2021-05-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @yandeu/express-dev
pnpm add @yandeu/express-dev
yarn add @yandeu/express-dev
bun add @yandeu/express-dev
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2021-05-28 |
| First published | 2021-05-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=15 |
| Dependencies | 2 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Yannick Deubel |
| Maintainers | yandeu |

## Links

- npm: https://www.npmjs.com/package/@yandeu/express-dev
- Repository: https://github.com/yandeu/express-dev
- Homepage: https://github.com/yandeu/express-dev#readme
- Issues: https://github.com/yandeu/express-dev/issues
- npm.io page: https://npm.io/package/@yandeu/express-dev

## Dependencies (2)

- [open](https://npm.io/package/open.md) ^8.2.0
- [node-cli](https://npm.io/package/node-cli.md) ^0.2.5

## Recent versions

- 0.0.0 (latest) — 2021-05-28

## README

# Express Dev

Contains some nice express wrapper function for simplifying express development.

## Modules

_For now, there is only one._

### Express Listen

- Tries the next port if the current is not available.
- Provides a nice kill switch.
- Automatically opens your browser.

```js
const listen = new ExpressListen(app)
const openBrowser = true

listen.listen(port, openBrowser).then(port => {
  console.log(`Running on port ${port}`)
})

setTimeout(async () => {
  await listen.kill()
}, 5000)
```

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