# nomi-error

> error handler middleware for nomi.js

Latest version **1.0.2** (published 2018-12-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install nomi-error
pnpm add nomi-error
yarn add nomi-error
bun add nomi-error
```

## 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.2 |
| Published | 2018-12-21 |
| First published | 2018-11-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | xiaoli.liu |
| Maintainers | liuxl, weoguo.kong.nomi, wltazs |
| Keywords | nomi, nomi-error, error, nomi-middleware |

## Links

- npm: https://www.npmjs.com/package/nomi-error
- Repository: https://github.com/williamkwg/nomi-error
- Homepage: https://github.com/williamkwg/nomi-error#readme
- Issues: https://github.com/williamkwg/nomi-error/issues
- npm.io page: https://npm.io/package/nomi-error

## Dependencies (4)

- [ejs](https://npm.io/package/ejs.md) ^2.5.9
- [koa](https://npm.io/package/koa.md) ^2.5.0
- [path](https://npm.io/package/path.md) ^0.12.7
- [consolidate](https://npm.io/package/consolidate.md) ^0.15.1

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2018-12-21
- 1.0.1 — 2018-12-21
- 1.0.0 — 2018-11-07

## README

# nomi-error

the error middleware for nomi framework.

## Installation

``` bash
$ npm install nomi-error --save
```

Node.js >= 8.0.0  required.

## Usage

``` javascript

const error = require('nomi-error');
const Koa = require('koa');
const app = new Koa();
const options = {
  accepts: ['html', 'text', 'json']
}
app.use(error('html', 'text', 'json'));
```

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