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.
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.