# meiosis-render

> meiosis-render

Latest version **0.8.0** (published 2016-11-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install meiosis-render
pnpm add meiosis-render
yarn add meiosis-render
bun add meiosis-render
```

## Health

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

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

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.8.0 |
| Published | 2016-11-06 |
| First published | 2016-05-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | foxdonut |
| Maintainers | foxdonut |
| Keywords | meiosis, meiosis-render, render |

## Links

- npm: https://www.npmjs.com/package/meiosis-render
- Repository: https://github.com/foxdonut/meiosis-render
- Homepage: https://github.com/foxdonut/meiosis-render#readme
- Issues: https://github.com/foxdonut/meiosis-render/issues
- npm.io page: https://npm.io/package/meiosis-render

## Recent versions

- 0.8.0 (latest) — 2016-11-06
- 0.7.1 — 2016-08-13
- 0.7.0 — 2016-07-30
- 0.5.0 — 2016-05-29
- 0.4.4 — 2016-05-20

## README

# Meiosis-Render

Meiosis-Render is a helper library for writing [Meiosis](http://meiosis.js.org) renderers.

If you write a function for your renderer with the following signature:

```javascript
function intoElement(element) {
  return function(model, rootComponent) {
    // render the view using model and/or rootComponent
  };
}
```

You can then pass your function to `meiosisRender`:

```javascript
function renderer() {
  return meiosisRender(intoElement);
}
```

This will give you a `renderer` with the following convenience functions:

```javascript
renderer.intoElement(document, element)
renderer.intoId(document, id)
renderer.intoSelector(document, selector)
```

The following renderers use Meiosis-Render:

- [Meiosis-React](https://github.com/foxdonut/meiosis-react)
- [Meiosis-Inferno](https://github.com/foxdonut/meiosis-inferno)
- [Meiosis-Mithril](https://github.com/foxdonut/meiosis-mithril)
- [Meiosis-Snabbdom](https://github.com/foxdonut/meiosis-snabbdom)
- [Meiosis-VanillaJs](https://github.com/foxdonut/meiosis-vanillajs)

You will find examples of their use in the [meiosis-examples](https://github.com/foxdonut/meiosis-examples)
repository.

--

_Meiosis is developed by [foxdonut](https://github.com/foxdonut)
([@foxdonut00](http://twitter.com/foxdonut00)) and is released under the MIT license._

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