Back to Explore

syntax-tree/mdast-util-phrasing

GitHub
1 watchersOpen source

Last release: 2/1/2024

mdast-util-phrasing is a small ESM utility that checks whether an mdast node is phrasing content, returning a boolean result. It is mainly useful when you are building other mdast utilities and need a reliable test for node type (excluding html).

Project status

  • The last upstream activity was on 2024-02-01, with a recent update (4.1.0) on the same date, which suggests the project is actively maintained but with limited frequency.
  • The apparent updates cadence is moderate to slow, roughly moving from 3.0.1 (2023-01) to 4.0.0 (2023-07), then to 4.1.0 (2024-02).

AI summary generated Today

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

Recent updates

  • 4.1.0

    2/1/2024

    Release 4.1.0 expands the `phrasing` type guard to recognize additional “common extensions” coming from MDX, math, and directive-related node types. It also adjusts the `html` handling in the type guard to fix incorrect typing behavior. Overall, this is primarily a type guard expansion plus a targeted type fix.

    Features
  • 4.0.0

    7/7/2023

    mdast-util-phrasing 4.0.0 updates its Node.js support to Node 16 and modernizes its ESM package metadata. The implementation change mostly concerns typing and JSDoc, while the package dependencies and build toolchain also move to newer major versions.

    Breaking
  • 3.0.1

    1/25/2023

    Release 3.0.1 is presented as a minor maintenance update focused on documentation and code style/refactoring, plus a tsconfig adjustment. The actual code change moves the runtime implementation out of the package root into a new lib/index.js module and updates build/test/CI tooling around that.