Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

html-element-to-react

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-element-to-react - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

2

package.json
{
"name": "html-element-to-react",
"version": "0.2.0",
"version": "0.3.0",
"description": "Convert HTML DOM elements to React elements",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

# html-element-to-react
Convert HTML DOM elements to React
`npm i --save html-element-to-react`
### Usage
```js
import React from 'react'
import ReactDOM from 'react-dom'
import { convert } from 'domelement-to-react'
import { convert } from 'html-element-to-react'

@@ -12,2 +15,2 @@ const App = convert(htmlElement)

ReactDOM.render(App, document.getElementById('app'))
```
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc