Alexandro.Net

Version 1.0.2

@stackline/types-mdast

TypeScript definitions for mdast

Independent maintenance of @types/mdast 3.0.15. Original authors and licenses are retained.

Installation

# Preserve existing imports with an npm alias
npm install @types/mdast@npm:@stackline/types-mdast@1.0.2
# Or use the scoped package name in your imports
npm install @stackline/types-mdast@1.0.2

Node.js: See compatibility notes. Read the compatibility and maintenance notes before migrating.

Usage and API

@stackline/types-mdast

TypeScript definitions for mdast.

npm version license GitHub repository Docs Reddit community

Documentation | npm | Issues | Repository

Current package version: 1.0.2


Why this package?

@stackline/types-mdast is the Stackline-maintained distribution of @types/mdast@3.0.15. It is an independent continuation of @types/mdast; original authors and licenses remain credited below.

Compatibility

Item Value
Package @stackline/types-mdast@1.0.2
API target @types/mdast@3.0.15
Supported Node.js See supported framework requirements
License MIT
Types index.d.ts
Runtime dependencies @types/unist

Installation

npm install --save-dev @stackline/types-mdast

Preserve existing imports and plugin resolution with an npm alias:

npm install --save-dev @types/mdast@npm:@stackline/types-mdast

Use the original @types/* alias for automatic TypeScript type discovery and existing compilerOptions.types settings. A scoped-only installation does not automatically expose the original type-package name.

Usage and API reference

Installation

npm install --save @stackline/types-mdast

Summary

This package contains type definitions for mdast (https://github.com/syntax-tree/mdast).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdast/v3.

Additional Details

Credits

These definitions were written by Christian Murphy, Jun Lu, Remco Haszing, and Titus Wormer.

Credits and original authors

Original copyright, license notices and contributor acknowledgements remain part of this distribution. Stackline maintenance does not replace authorship of the original work.

License

MIT. See the license and notice files in the repository.

Community and Links

Use this repository's issue tracker for reproducible bugs and feature requests. Join r/Stackline for examples, usage questions and release discussions.

Upstream issues and maintenance review

Upstream and review

Issue review

GitHub search on 2026-09-29 used repo:DefinitelyTyped/DefinitelyTyped is:issue is:open "mdast" and the corresponding closed query. Counts: open: 0 results (collected 0), closed: 0 results (collected 0). Search results can contain unrelated packages; they are not evidence that every result is a defect here. Archived search responses and baseline comparisons are retained in the release research evidence. No issue was posted or modified.

No matching open or closed issues were returned for mdast. The selected v3 tree and node constraints are compiled directly and under the original alias.

Validation

Real declaration usage and negative type assertions are compiled with TypeScript 4.5.5 and 5.9.3, with strict: true and skipLibCheck: false, from source and isolated direct/alias tarball installs. CI also checks the complete dependency audit, CodeQL, package contents and exact CI archive identity before GitHub-only publication. Registry verification compiles direct and aliased installs rather than importing these type-only packages as JavaScript.

Release changes

Changelog

1.0.0

Release files and references

Package bytes, npm provenance and the immutable GitHub release were verified for this version. Security checks describe the reviewed release; documented compatibility risks and upstream reports are not blanket claims of resolution.