Back to Explore

fb55/domelementtype

GitHub
1 updates · last 90 days1 watchersOpen source

Last release: 2 months ago

Provides a list of all node types used in htmlparser2’s DOM, useful when you need to understand or work with how htmlparser2 represents parsed HTML in code.

Project status

  • Maintenance status: The repository appears actively maintained in the near term, with a recent update (v3.0.0 on 2026-03-17) and an upstream push on 2026-03-26.
  • Update cadence: Updates have been infrequent overall, with large gaps between changes (v2.3.0 in 2022, v2.2.0 in 2021, then v3.0.0 in 2026). This suggests occasional, not continuous, maintenance.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v3.0.0

    2 months ago

    v3.0.0 primarily marks domelementtype as ESM-only. Alongside that, the project changed its packaging and build setup to output to dist and to use modern NodeNext TypeScript and new linting/formatting tooling.

    Breaking
  • v2.3.0

    4/7/2022

    v2.3.0 primarily adds an ESM build output under lib/esm and updates the package entry points to support both CommonJS (require) and ESM (import). Alongside that, the release also updates the build scripts, adds a package.json exports map, and bumps several development toolchain dependencies.

    BreakingFeatures
  • v2.2.0

    4/1/2021

    Release v2.2.0 makes a small source change to how `ElementType` is exported, switching from a TypeScript `const enum` to a regular `enum`. The release notes state this explicitly as the main change, along with routine version bumps in the package metadata.

    Breaking
  • v2.1.0

    12/2/2020

    Release v2.1.0 adds a new `root` element type to the `domelementtype` exports, alongside a `Root` alias for backwards-compatible usage. It also updates CI to run tests on `ppc64le`. Version metadata was bumped from 2.0.2 to 2.1.0.

    Features
  • v2.0.2

    9/13/2020

    v2.0.2 makes mostly metadata and documentation updates (exported ElementType documentation and funding info). The code diff also includes several repository-wide build and tooling configuration changes, plus large development dependency version bumps via the lockfile.

    Features
  • v2.0.1

    7/30/2019

    Release v2.0.1 updates the package manifest so that the published entrypoints point to the compiled output under lib/. It also adjusts which files are included when publishing to npm.

  • v2.0.0

    7/30/2019

    This release ports `domelementtype` to TypeScript. It adds a new TypeScript-friendly `ElementType` export (a `const enum`) intended for use by TypeScript consumers, replacing previous patterns for accessing element types.

    Features