jsx2html

0.0.2 • Public • Published

jsx2html


API

var jsx2html = require('./index.js');
var html = jsx2html(inputFile);
console.log(html);

CLI

$ ./bin/cmd.js test/fixture/HelloWorld.jsx
<div><p>Hello</p><p>World</p></div>

test

$ npm run test
$ npm run cover

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    1
  • 0.0.1
    0

Package Sidebar

Install

npm i jsx2html

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • npm