# koa-isomorphic

> A simple, lightweight isomorphic React plugin for koa. Simply `use` it and point it to your routes. React and ReactRouter must be installed in your module for koa-isomorphic to work.

Latest version **2.0.2** (published 2015-02-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install koa-isomorphic
pnpm add koa-isomorphic
yarn add koa-isomorphic
bun add koa-isomorphic
```

## 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 | 2.0.2 |
| Published | 2015-02-19 |
| First published | 2015-01-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 16 |
| Maintainers | cdebotton |

## Links

- npm: https://www.npmjs.com/package/koa-isomorphic
- Repository: https://github.com/cdebotton/koa-isomorphic
- Issues: https://github.com/cdebotton/koa-isomorphic/issues
- npm.io page: https://npm.io/package/koa-isomorphic

## Dependencies (2)

- [cheerio](https://npm.io/package/cheerio.md) ^0.18.0
- [serialize-javascript](https://npm.io/package/serialize-javascript.md) ^1.0.0

## Recent versions

- 2.0.2 (latest) — 2015-02-19
- 2.0.1 — 2015-02-19
- 2.0.0 — 2015-02-19
- 1.0.2 — 2015-01-27
- 1.0.1 — 2015-01-24
- 1.0.0 — 2015-01-23

## README

# koa-isomorphic

A simple, lightweight isomorphic React plugin for koa. Simply `use` it and point it to your routes. React and ReactRouter must be installed in your module for koa-isomorphic to work.

```js
var path = require('path');
var app = require('koa')();
var isomorphic = require('koa-isomorphic');
var port = process.env.NODE_ENV || 3000;


app.use(isomorphic(path.join(__dirname, 'src', 'routes')));

app.listen(port, function(err) {
  if (err) throw err;
  console.log('Listening at http://localhost:%d.', port);
});
```


## requirements
1. React `^0.12.2`
2. ReactRouter `^0.11.6`
3. koajs `^0.15.0`
4. nodejs `^0.11.14` || iojs `1.0.0`

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