GitShow/sindresorhus/domify
sindresorhus

domify

html -> elements

by sindresorhus
Star on GitHubForknpm

JavaScript

262 stars31 forks18 contributorsQuiet · 4mo agoSince 2012MIT

Meet the team

See all 18 on GitHub →
tj
tj40 contributions
jonathanong
jonathanong19 contributions
TooTallNate
TooTallNate9 contributions
sindresorhus
sindresorhus8 contributions
timoxley
timoxley8 contributions
stephenmathieson
stephenmathieson7 contributions
domenic
domenic3 contributions
jkroso
jkroso3 contributions

Recent fixes

View closed PRs →
nikku
Migrate to ESM only packageMergedPR

turn into ES module migrate to named export Closes #50

nikku · 4mo ago
nikku
Turn project into an ES moduleClosedIssue

What is the problem This project is not an ES module, despite having an declaration (ref). This causes some bundlers/built chains (https://angular.dev/) to warn when using the library from ESM setups. Proposed improvement I propose to turn this library into an ESM only module which can be nowadays consumed by modern environments (Node >= 20.12, bundlers, browsers). Essentially this means to add "type": "module" and simplify "exports" declaration.

nikku · 4mo ago
Kequc
Doesn't seem to support comment inputClosedIssue

Running the following code returns a text node. Seems to be because the function bails early when it does not detect a matching tag.

Kequc · 2y ago
Structured data for AI agents

Repository: sindresorhus/domify. Description: html -> elements Stars: 262, Forks: 31. Primary language: JavaScript. License: MIT. Open PRs: 0, open issues: 0. Last activity: 4mo ago. Top contributors: tj, jonathanong, TooTallNate, sindresorhus, timoxley, stephenmathieson, domenic, jkroso, lancejpollard, matthewmueller and others.

·@ofershap

Replace github.com with gitshow.dev