1.0.0 • Published 1 year ago
html-uncomment v1.0.0
html-uncomment.js
Remove HTML comments from a string
Supports ES6, commonjs and browser
⚙️ Installation
npm i html-uncomment
https://cdn.jsdelivr.net/npm/html-uncomment@1.0.0/html-uncomment.js
📖 Usage
import htmlUncomment from 'html-uncomment';
// commonjs => "const htmlUncomment = require('html-uncomment')"
console.log(htmlUncomment(`
<p>Hello</p>
<!-- hru -->
<span>world</span>
`))
1.0.0
1 year ago