react-stdout
v0.1.4
Published
Render react to terminal by blessed.
Downloads
20
Readme
react-stdout
Render react to terminal by blessed.
Install
npm install react-stdout --save
Usage
import React = require("react");
import {render} from "react-stdout";
class Test extends React.Component<any, any> {
public render() {
return <div>Text</div>;
}
}
const renderer = render(<Test />);
// ...
renderer.destroy();
Tests
npm install
npm test