detect-html
v1.0.0
Published
It detects HTML markup embed in any string
Readme
detect-html
It detects HTML markup embed in any string.
Install
$ npm install detect-html --saveUsage
const detectHtml = require('detect-html')
detectHtml(input)
// [
// "<script>console.log('lol')</script>",
// "<div><script>console.log('lol')</script></div>"
// ]License
detect-html © Kiko Beats, released under the MIT License. Authored and maintained by Kiko Beats with help from contributors.
kikobeats.com · GitHub Kiko Beats · Twitter @kikobeats
