# renderhare

Latest version **1.0.0** (published 2018-03-23) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2018-03-23 |
| First published | 2018-03-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | RenderHare |
| Maintainers | ps |
| Keywords | server-side rendering, ssr |

## Links

- npm: https://www.npmjs.com/package/renderhare
- Repository: https://github.com/thekidfrankensteinthrewinapond/renderhare
- Homepage: https://github.com/thekidfrankensteinthrewinapond/renderhare#readme
- Issues: https://github.com/thekidfrankensteinthrewinapond/renderhare/issues
- npm.io page: https://npm.io/package/renderhare

## Dependencies (2)

- [got](https://npm.io/package/got.md) ^8.3.0
- [full-url](https://npm.io/package/full-url.md) ^1.0.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-03-23

## README

# renderhare

Express / Connect middleware for server-side rendering with [RenderHare](https://renderhare.com/).

## Install

Available [on npm](https://www.npmjs.com/package/renderhare):

```shell
npm install renderhare --save
```

Or using [yarn](https://yarnpkg.com/en/):

```shell
yarn add renderhare
```

## Use

This package can be used as Express middleware like so:

```js
const renderhare = require('renderhare');
const app = require('express')();

// A lot of other important stuff

app.use(renderhare({
  token: 'YOUR TOKEN HERE'
}));

app.listen(8080);
```

## Options

The following options are provided, only `token` is required:

### token

Your API __token__, which you can [find here](https://renderhare.com/docs). A token is required to render with RenderHare.

### bypass

A boolean, if true __bypass__ signals to not use RenderHare. You might use this in a development or testing environment.

```js
app.use(renderhare({
  token: 'YOUR TOKEN HERE',
  bypass: process.env.NODE_ENV === 'testing'
}))
```

## License

MIT

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