GitShow/sindresorhus/is-html
sindresorhus

is-html

Check if a string is HTML

by sindresorhus
Star on GitHubForknpm

JavaScript

95 stars11 forks7 contributorsQuiet · 11mo agoSince 2013v3.2.0MIT

Meet the team

See all 7 on GitHub →
sindresorhus
sindresorhus27 contributions
ben-eb
ben-eb1 contribution
Fdawgs
Fdawgs1 contribution
nix6839
nix68391 contribution
daguej
daguej1 contribution
Richienb
Richienb1 contribution
zhuangya
zhuangya1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
TowhidKashem
False positive on xml tagsClosedIssue

Following gets flagged as html by this lib: even though time and date tags exist in the html spec, this isn't the way they are used. I had the above in a dataset which represented xml but it was flagged as html. Perhaps the test can be more struct to determine valid html vs xml tags?

TowhidKashem · 3mo ago
semy
Test of PDF source with is-html === trueClosedIssue

Hi, first of all, thank your for your nice plugin. I tested it and it works well, but for the source of the following url the plugin does not work because . https://courses.csail.mit.edu/6.042/spring17/mcs.pdf Could you check it and fix it? Thanks for your reply ;)

semy · 11mo ago
bnjmnt4n
Wrong script on readmeClosedIssue

On the readme, it says: However, there is no such file .

bnjmnt4n · 1y ago
Structured data for AI agents

Repository: sindresorhus/is-html. Description: Check if a string is HTML Stars: 95, Forks: 11. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v3.2.0 (11mo ago). Open PRs: 0, open issues: 0. Last activity: 11mo ago. Community health: 85%. Top contributors: sindresorhus, ben-eb, Fdawgs, nix6839, daguej, Richienb, zhuangya.

·@ofershap

Replace github.com with gitshow.dev