1.1.10 • Published 6 years ago

mithril-render v1.1.10

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

mithril-render

Build Status Coverage Status dependencies Status devDependencies Status peerDependencies Status npm version downloads license

this is a TypeScript fork of Stephan Hoyer's mithril-node-render

Installation

npm install mithril-render

Usage

import * as browserMock from "mithril/test-utils/browserMock";

// use a mock DOM so we can run mithril on the server
browserMock(global);

import render from "mithril-render";

import * as m from "mithril";

render(m('span', 'huhu')).then((html) => {
    console.log(html);
});

See also

1.1.10

6 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.2

7 years ago

1.1.3

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago