# rspec-json-to-html2

> Rspec json to html report generator

Latest version **1.0.0** (published 2021-12-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install rspec-json-to-html2
pnpm add rspec-json-to-html2
yarn add rspec-json-to-html2
bun add rspec-json-to-html2
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-12-23 |
| First published | 2021-12-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 25.8 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | Marcus Orochena |
| Maintainers | morochena |

## Links

- npm: https://www.npmjs.com/package/rspec-json-to-html2
- npm.io page: https://npm.io/package/rspec-json-to-html2

## Dependencies (1)

- [pug](https://npm.io/package/pug.md) ^2.0.4

## Recent versions

- 1.0.0 (latest) — 2021-12-23

## README

# Usage

```
const fs = require('fs');
const { jsonToHtml } = require('rspec-json-to-html');

const rspecJson = JSON.parse(fs.readFileSync('./rspec.json', 'utf8'));
const template = fs.readFileSync('./template.pug', 'utf8');

const html = jsonToHtml(rspecJson, template);

fs.writeFileSync('./report.html', html);
```

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