html-to-react-parser

0.0.2 • Public • Published

html2react Build Status

My bedazzling module

Install

$ npm install html2react

Usage

const html2react = require("html2react");

html2react('<div className="row"></div>');
//=> '<Row></Row>'

API

html2react(input, options?)

input

Type: string

Lorem ipsum.

options

Type: object

foo

Type: boolean
Default: false

Lorem ipsum.

CLI

$ npm install --global html2react
$ html2react --help

  Usage
    html2react [input]

  Options
    --foo  Lorem ipsum [Default: false]

  Examples
    $ html2react
    unicorns & rainbows
    $ html2react ponies
    ponies & rainbows

Readme

Keywords

Package Sidebar

Install

npm i html-to-react-parser

Weekly Downloads

21

Version

0.0.2

License

MIT

Unpacked Size

5.88 kB

Total Files

7

Last publish

Collaborators

  • oluizfabio