1.0.0 โ€ข Published 2 years ago

string2html v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

String2Html

Convert a string of HTML into a string of formatted HTML ๐Ÿงต

Using with a CDN

<script
  defer
  src="https://unpkg.com/string2html@latest/dist/converter.min.js"
></script>

<script>
  const htmlString = '<div><h1>Hello World!</h1></div>'

  string2Html(htmlString)
</script>

Using with a Package Manager

yarn add -D string2html

npm install -D string2html
import string2Html from 'string2html'

const htmlString = '<div><h1>Hello World!</h1></div>'

string2Html(htmlString)

Stats ๐Ÿ“Š

npm.io npm.io npm.io npm.io