0.0.2 • Published 5 years ago

html-to-react-parser v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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