{"name":"is-html","version":"3.2.0","description":"Check if a string is HTML","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-html.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava"},"keywords":["html","detect","check","is","tags","elements","string"],"dependencies":{"html-tags":"^3.1.0"},"devDependencies":{"ava":"^3.15.0","xo":"^0.44.0"},"_id":"is-html@3.2.0","gitHead":"33e734531636894a97cf98fa495809b088b3bea9","bugs":{"url":"https://github.com/sindresorhus/is-html/issues"},"homepage":"https://github.com/sindresorhus/is-html#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-JgqYwziVhMrQE9Y4i096hK3CxjSGzvgigf9e7eVbW+lirr+Pu9OGGvHRDXZTPRi0Ug1TEgMRyolKBwQvt6NCmw==","shasum":"14cfc8e52fa65ec9ae3fdae8a11c8bcf96f5dbee","tarball":"http://registry-npm.ywwl.com/is-html/download/is-html-3.2.0.tgz","fileCount":5,"unpackedSize":3354,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAWqNId26a2odPtqxon48tVd1P7KjdjwaQ3NPYSyk6hOAiEAjhCnexnohJsYaRo/EDylfnV0C1y4KRzfkm0QvOALrQU="}],"size":1968,"noattachment":false,"key":"/is-html/-/is-html-3.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-html_3.2.0_1757414229045_0.8469522031521444"},"_hasShrinkwrap":false,"readme":"# is-html\n\n> Check if a string is HTML\n\nYou should not use this for any kind of validation, sanitation, or XSS checks.\n\n## Install\n\n```sh\nnpm install is-html\n```\n\n## Usage\n\n```js\nimport isHtml from 'is-html';\n\nisHtml('<p>I am HTML</p>');\n//=> true\n\nisHtml('<!doctype><html><body><h1>I ❤ unicorns</h1></body></html>');\n//=> true\n\nisHtml('<cake>I am XML</cake>');\n//=> false\n\nisHtml('>+++++++>++++++++++>+++>+<<<<-');\n//=> false\n```\n\nNote: It does not detect deprecated HTML tags.\n","publish_time":1757414229230,"_cnpm_publish_time":1757414229230,"dist-tags":{"latest":"3.2.0"}}