Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

htmlx

undoZen21MIT0.1.0

transform htmlx (html-like template part of jsx) to react dom dsl

jsx, react

readme

htmlx

transform htmlx (html-like template part of jsx) to react dom dsl

I split these code from htmlxify to try to make htmlx requiring work with webpack and react-hot-loader module, if you want to use them with browserify, just use htmlxify.

Installation

npm install htmlx

Usage

var htmlx = require('htmlx');
var source = 'return "htmlx below",\n<p>Hello, World!</p>';
var compiled = htmlx(source, 'fake.htmlx');

Lisence

MIT