rehype is an HTML processor in the unifiedjs ecosystem, built around plugins that turn HTML into an AST (hast) so you can inspect and change the structure, then transform it back to HTML. It is useful for server or client HTML processing, CLI scripts, and other workflows where you want plugin-based HTML transformations.
Project status
- Maintenance status: The upstream repo shows a very recent push (2026-06-02), and the project is part of the @unifiedjs collective, but the last documented published updates in the provided history are dated 2024-09-27 (13.0.2) and earlier.
- Update cadence: Release activity appears sporadic, with a long gap between 13.0.2 (2024-09-27) and the previous documented update (13.0.1 on 2023-08-30), and another earlier gap (13.0.0 on 2023-08-26).
AI summary generated Today
Recent updates
13.0.2
9/27/2024Version 13.0.2 is described as a patch release with mostly documentation and typing-related work, plus adding MIT license files to individual packages. The code changes in the main plugins (rehype-parse and rehype-stringify) are largely limited to JSDoc type import/refactor for declaration generation. There is, however, at least one dependency version bump in rehype-cli that is not mentioned in the release notes.
13.0.1
8/30/2023Release 13.0.1 of rehype documents a TypeScript-related change: augmenting settings types for rehype. The code diff shows a new TypeScript declaration file added for the rehype entry point, plus some repository configuration tweaks to ensure the new d.ts is included in builds and linting.
Features13.0.0
8/26/2023Release 13.0.0 updates package metadata and internal dependency wiring. Based on the provided diff, the only concrete code changes are version bumps (rehype 12.0.1 to 13.0.0) and rehype-cli updating its dependency on rehype to ^13.0.0, plus README example version numbers.
BreakingFeatures