# nuxt-log-generate-errors

> log generate's errors to file or http

Latest version **1.0.2** (published 2021-04-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install nuxt-log-generate-errors
pnpm add nuxt-log-generate-errors
yarn add nuxt-log-generate-errors
bun add nuxt-log-generate-errors
```

## 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 | 2021-04-16 |
| First published | 2021-04-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | rokealvo |
| Maintainers | rokealvo |

## Links

- npm: https://www.npmjs.com/package/nuxt-log-generate-errors
- npm.io page: https://npm.io/package/nuxt-log-generate-errors

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1

## Recent versions

- 1.0.2 (latest) — 2021-04-16
- 1.0.1 — 2021-04-11
- 1.0.0 — 2021-04-11

## README

# Nuxt-module for logging errors during static generation

Write a log to a file or send a request via net

## Install

```nmp install -D nuxt-logs-generate-errors```
```javascript
// nuxt.config.js
module.exports = {
	buildModules: [
		['nuxt-log-generate-errors', {file: 'generate-errors-log.json'}]
    ],
}
```

## Options

```typescript
interface moduleOptions {
  file?: string
  http?: {
    url: string,
    method?: string // default POST
    headers?: {[key: string]: string}
  }
}
```

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