New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

html-to-react-parser

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-to-react-parser

My bedazzling module

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

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

Keywords

cli-app

FAQs

Package last updated on 28 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts