{"_id":"@depup/micromark-extension-gfm","name":"@depup/micromark-extension-gfm","dist-tags":{"latest":"3.0.0-depup.52"},"versions":{"3.0.0-depup.52":{"name":"@depup/micromark-extension-gfm","version":"3.0.0-depup.52","description":"micromark extension to support GFM (GitHub Flavored Markdown) (with updated dependencies)","license":"MIT","keywords":["micromark-extension-gfm","depup","updated-dependencies","security","latest","patched","micromark","micromark-extension","table","strikethrough","tasklist","autolink","footnote","tagfilter","github","gfm","markdown","unified"],"repository":{"type":"git","url":"git+https://github.com/micromark/micromark-extension-gfm.git"},"bugs":{"url":"https://github.com/micromark/micromark-extension-gfm/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"micromark-extension-gfm-autolink-literal":"^2.1.0","micromark-extension-gfm-footnote":"^2.1.0","micromark-extension-gfm-strikethrough":"^2.1.0","micromark-extension-gfm-table":"^2.1.1","micromark-extension-gfm-tagfilter":"^2.0.0","micromark-extension-gfm-task-list-item":"^2.1.0","micromark-util-combine-extensions":"^2.0.1","micromark-util-types":"^2.0.2"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","create-gfm-fixtures":"^1.0.0","hast-util-from-html":"^1.0.0","hast-util-select":"^5.0.0","hast-util-to-text":"^3.0.0","micromark":"^4.0.0","prettier":"^2.0.0","rehype":"^12.0.0","rehype-sort-attributes":"^4.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","undici":"^5.0.0","xo":"^0.54.0"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api-prod":"node --conditions production test/index.js","test-api-dev":"node --conditions development test/index.js","test-api":"npm run test-api-dev && npm run test-api-prod","test-coverage":"c8 --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"prettier":true,"overrides":[{"files":["{test,script}/**/*.js"],"rules":{"no-await-in-loop":"off"}}]},"depup":{"changes":{"micromark-extension-gfm-autolink-literal":{"from":"^2.0.0","to":"^2.1.0"},"micromark-extension-gfm-footnote":{"from":"^2.0.0","to":"^2.1.0"},"micromark-extension-gfm-strikethrough":{"from":"^2.0.0","to":"^2.1.0"},"micromark-extension-gfm-table":{"from":"^2.0.0","to":"^2.1.1"},"micromark-extension-gfm-task-list-item":{"from":"^2.0.0","to":"^2.1.0"},"micromark-util-combine-extensions":{"from":"^2.0.0","to":"^2.0.1"},"micromark-util-types":{"from":"^2.0.0","to":"^2.0.2"}},"depsUpdated":7,"originalPackage":"micromark-extension-gfm","originalVersion":"3.0.0","processedAt":"2026-07-21T17:27:42.785Z","smokeTest":"passed"},"gitHead":"bfea30d03284310a18b8f3e77c16d083b0536576","types":"./index.d.ts","_id":"@depup/micromark-extension-gfm@3.0.0-depup.52","homepage":"https://github.com/micromark/micromark-extension-gfm#readme","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-jtIhJ5T7lOsN8gqyJPziAHZnqzSpufs9Hj1zUDFLeSKm1jixhd0sFJuu2NkjkMLrRmlmNp7rld21IM9gtB/jmw==","shasum":"0b53e18d220734f48b6b5928193d52e8d6a147a4","tarball":"https://registry.npmjs.org/@depup/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0-depup.52.tgz","fileCount":7,"unpackedSize":23317,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDu/eiPUevseaI+KkXpx7I1oksmUmHS4xpkhwIwv87HlQIhAODOn2jW3aRF8ELZcvsp+O+kIp52/9AMRyiNZMB4VlEO"}]},"_npmUser":{"name":"chiefmikey","email":"wolfemikl@gmail.com"},"directories":{},"maintainers":[{"name":"chiefmikey","email":"wolfemikl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/micromark-extension-gfm_3.0.0-depup.52_1784654880185_0.03058156773430687"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-21T17:28:00.032Z","3.0.0-depup.52":"2026-07-21T17:28:00.345Z","modified":"2026-07-21T17:28:00.626Z"},"maintainers":[{"name":"chiefmikey","email":"wolfemikl@gmail.com"}],"description":"micromark extension to support GFM (GitHub Flavored Markdown) (with updated dependencies)","homepage":"https://github.com/micromark/micromark-extension-gfm#readme","keywords":["micromark-extension-gfm","depup","updated-dependencies","security","latest","patched","micromark","micromark-extension","table","strikethrough","tasklist","autolink","footnote","tagfilter","github","gfm","markdown","unified"],"repository":{"type":"git","url":"git+https://github.com/micromark/micromark-extension-gfm.git"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/micromark/micromark-extension-gfm/issues"},"license":"MIT","readme":"# micromark-extension-gfm\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][sponsors-badge]][collective]\n[![Backers][backers-badge]][collective]\n[![Chat][chat-badge]][chat]\n\n[micromark][] extensions to support [GitHub flavored markdown][gfm] (GFM).\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When to use this](#when-to-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`gfm(options?)`](#gfmoptions)\n    *   [`gfmHtml(options?)`](#gfmhtmloptions)\n    *   [`Options`](#options)\n    *   [`HtmlOptions`](#htmloptions)\n*   [Bugs](#bugs)\n*   [Authoring](#authoring)\n*   [HTML](#html)\n*   [CSS](#css)\n*   [Syntax](#syntax)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package contains extensions that add support for all features enabled by\nGFM to [`micromark`][micromark].\nIt supports autolink literals, footnotes, strikethrough, tables, tagfilter, and\ntasklists.\n\n## When to use this\n\nThis project is useful when you want to support GFM in markdown.\n\nYou can use these extensions when you are working with [`micromark`][micromark].\nAlternatively, you can also use the underlying features separately:\n\n*   [`micromark-extension-gfm-autolink-literal`][gfm-autolink-literal]\n    — support GFM [autolink literals][]\n*   [`micromark-extension-gfm-footnote`][gfm-footnote]\n    — support GFM [footnotes][]\n*   [`micromark-extension-gfm-strikethrough`][gfm-strikethrough]\n    — support GFM [strikethrough][]\n*   [`micromark-extension-gfm-table`][gfm-table]\n    — support GFM [tables][]\n*   [`micromark-extension-gfm-tagfilter`][gfm-tagfilter]\n    — support GFM [tagfilter][]\n*   [`micromark-extension-gfm-task-list-item`][gfm-task-list-item]\n    — support GFM [tasklists][]\n\nWhen you need a syntax tree, combine this package with\n[`mdast-util-gfm`][mdast-util-gfm].\n\nAll these packages are used in [`remark-gfm`][remark-gfm], which focusses on\nmaking it easier to transform content by abstracting these internals away.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install micromark-extension-gfm\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {gfm, gfmHtml} from 'https://esm.sh/micromark-extension-gfm@3'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {gfm, gfmHtml} from 'https://esm.sh/micromark-extension-gfm@3?bundle'\n</script>\n```\n\n## Use\n\nSay our document `example.md` contains:\n\n```markdown\n# GFM\n\n## Autolink literals\n\nwww.example.com, https://example.com, and contact@example.com.\n\n## Footnote\n\nA note[^1]\n\n[^1]: Big note.\n\n## Strikethrough\n\n~one~ or ~~two~~ tildes.\n\n## Table\n\n| a | b  |  c |  d  |\n| - | :- | -: | :-: |\n\n## Tag filter\n\n<plaintext>\n\n## Tasklist\n\n* [ ] to do\n* [x] done\n```\n\n…and our module `example.js` looks as follows:\n\n```js\nimport fs from 'node:fs/promises'\nimport {micromark} from 'micromark'\nimport {gfm, gfmHtml} from 'micromark-extension-gfm'\n\nconst output = micromark(await fs.readFile('example.md'), {\n  allowDangerousHtml: true,\n  extensions: [gfm()],\n  htmlExtensions: [gfmHtml()]\n})\n\nconsole.log(output)\n```\n\n…now running `node example.js` yields:\n\n```html\n<h1>GFM</h1>\n<h2>Autolink literals</h2>\n<p><a href=\"http://www.example.com\">www.example.com</a>, <a href=\"https://example.com\">https://example.com</a>, and <a href=\"mailto:contact@example.com\">contact@example.com</a>.</p>\n<h2>Footnote</h2>\n<p>A note<sup><a href=\"#user-content-fn-1\" id=\"user-content-fnref-1\" data-footnote-ref=\"\" aria-describedby=\"footnote-label\">1</a></sup></p>\n<h2>Strikethrough</h2>\n<p><del>one</del> or <del>two</del> tildes.</p>\n<h2>Table</h2>\n<table>\n<thead>\n<tr>\n<th>a</th>\n<th align=\"left\">b</th>\n<th align=\"right\">c</th>\n<th align=\"center\">d</th>\n</tr>\n</thead>\n</table>\n<h2>Tag filter</h2>\n&lt;plaintext>\n<h2>Tasklist</h2>\n<ul>\n<li><input type=\"checkbox\" disabled=\"\" /> to do</li>\n<li><input type=\"checkbox\" disabled=\"\" checked=\"\" /> done</li>\n</ul>\n<section data-footnotes=\"\" class=\"footnotes\"><h2 id=\"footnote-label\" class=\"sr-only\">Footnotes</h2>\n<ol>\n<li id=\"user-content-fn-1\">\n<p>Big note. <a href=\"#user-content-fnref-1\" data-footnote-backref=\"\" class=\"data-footnote-backref\" aria-label=\"Back to content\">↩</a></p>\n</li>\n</ol>\n</section>\n```\n\n## API\n\nThis package exports the identifiers [`gfm`][api-gfm] and\n[`gfmHtml`][api-gfm-html].\nThere is no default export.\n\nThe separate extensions support the [`development` condition][development].\nRun `node --conditions development module.js` to get instrumented dev code.\nWithout this condition, production code is loaded.\n\n### `gfm(options?)`\n\nCreate an extension for `micromark` to enable GFM syntax.\n\n###### Parameters\n\n*   `options` ([`Options`][api-options], optional)\n    — configuration; passed to\n    [`micromark-extens-gfm-strikethrough`][gfm-strikethrough-options]\n\n###### Returns\n\nExtension for `micromark` that can be passed in `extensions` to enable GFM\nsyntax ([`Extension`][micromark-extension]).\n\n### `gfmHtml(options?)`\n\nCreate an extension for `micromark` to support GFM when serializing to HTML.\n\n###### Parameters\n\n*   `options` ([`HtmlOptions`][api-html-options], optional)\n    — configuration; passed to\n    [`micromark-extens-gfm-footnote`][gfm-footnote-html-options]\n\n###### Returns\n\nExtension for `micromark` that can be passed in `htmlExtensions` to support GFM\nwhen serializing to HTML ([`HtmlExtension`][micromark-html-extension]).\n\n### `Options`\n\nConfiguration for syntax (TypeScript type).\n\n###### Type\n\n```ts\nexport type {Options} from 'micromark-extension-gfm-strikethrough'\n```\n\n[See `Options`][gfm-strikethrough-options].\n\n### `HtmlOptions`\n\nConfiguration for HTML (TypeScript type).\n\n###### Type\n\n```ts\nexport type {HtmlOptions} from 'micromark-extension-gfm-footnote'\n```\n\n[See `HtmlOptions`][gfm-footnote-html-options].\n\n## Bugs\n\nFor bugs present in GFM but not here, or other peculiarities that are\nsupported, see each corresponding readme:\n\n*   [autolink literal](https://github.com/micromark/micromark-extension-gfm-autolink-literal#bugs)\n*   [footnote](https://github.com/micromark/micromark-extension-gfm-footnote#bugs)\n*   strikethrough: n/a\n*   [table](https://github.com/micromark/micromark-extension-gfm-table#bugs)\n*   tagfilter: n/a\n*   tasklists: n/a\n\n## Authoring\n\nFor recommendations on how to author GFM, see each corresponding readme:\n\n*   [autolink literal](https://github.com/micromark/micromark-extension-gfm-autolink-literal#authoring)\n*   [footnote](https://github.com/micromark/micromark-extension-gfm-footnote#authoring)\n*   [strikethrough](https://github.com/micromark/micromark-extension-gfm-strikethrough#authoring)\n*   [table](https://github.com/micromark/micromark-extension-gfm-table#authoring)\n*   tagfilter: n/a\n*   [tasklists](https://github.com/micromark/micromark-extension-gfm-task-list-item#authoring)\n\n## HTML\n\nFor info on what HTML features GFM relates to, see each corresponding readme:\n\n*   [autolink literal](https://github.com/micromark/micromark-extension-gfm-autolink-literal#html)\n*   [footnote](https://github.com/micromark/micromark-extension-gfm-footnote#html)\n*   [strikethrough](https://github.com/micromark/micromark-extension-gfm-strikethrough#html)\n*   [table](https://github.com/micromark/micromark-extension-gfm-table#html)\n*   [tagfilter](https://github.com/micromark/micromark-extension-gfm-tagfilter#html)\n*   [tasklists](https://github.com/micromark/micromark-extension-gfm-task-list-item#html)\n\n## CSS\n\nFor info on how GitHub styles these features, see each corresponding readme:\n\n*   [autolink literal](https://github.com/micromark/micromark-extension-gfm-autolink-literal#css)\n*   [footnote](https://github.com/micromark/micromark-extension-gfm-footnote#css)\n*   [strikethrough](https://github.com/micromark/micromark-extension-gfm-strikethrough#css)\n*   [table](https://github.com/micromark/micromark-extension-gfm-table#css)\n*   tagfilter: n/a\n*   [tasklists](https://github.com/micromark/micromark-extension-gfm-task-list-item#css)\n\n## Syntax\n\nFor info on the syntax of these features, see each corresponding readme:\n\n*   [autolink literal](https://github.com/micromark/micromark-extension-gfm-autolink-literal#syntax)\n*   [footnote](https://github.com/micromark/micromark-extension-gfm-footnote#syntax)\n*   [strikethrough](https://github.com/micromark/micromark-extension-gfm-strikethrough#syntax)\n*   [table](https://github.com/micromark/micromark-extension-gfm-table#syntax)\n*   tagfilter: n/a\n*   [tasklists](https://github.com/micromark/micromark-extension-gfm-task-list-item#syntax)\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional types [`HtmlOptions`][api-html-options] and\n[`Options`][api-options].\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line,\n`micromark-extension-gfm@^3`, compatible with Node.js 16.\n\nThis package works with `micromark` version `3` and later.\n\n## Security\n\nThis package is safe.\nSetting `clobberPrefix = ''` is dangerous, it opens you up to DOM clobbering.\nThe `labelTagName` and `labelAttributes` options are unsafe when used with user\ncontent, they allow defining arbitrary HTML.\n\n## Contribute\n\nSee [`contributing.md` in `micromark/.github`][contributing] for ways to get\nstarted.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/micromark/micromark-extension-gfm/workflows/main/badge.svg\n\n[build]: https://github.com/micromark/micromark-extension-gfm/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/micromark/micromark-extension-gfm.svg\n\n[coverage]: https://codecov.io/github/micromark/micromark-extension-gfm\n\n[downloads-badge]: https://img.shields.io/npm/dm/micromark-extension-gfm.svg\n\n[downloads]: https://www.npmjs.com/package/micromark-extension-gfm\n\n[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=micromark-extension-gfm\n\n[size]: https://bundlejs.com/?q=micromark-extension-gfm\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[collective]: https://opencollective.com/unified\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/micromark/micromark/discussions\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esmsh]: https://esm.sh\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[contributing]: https://github.com/micromark/.github/blob/main/contributing.md\n\n[support]: https://github.com/micromark/.github/blob/main/support.md\n\n[coc]: https://github.com/micromark/.github/blob/main/code-of-conduct.md\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[development]: https://nodejs.org/api/packages.html#packages_resolving_user_conditions\n\n[typescript]: https://www.typescriptlang.org\n\n[gfm]: https://github.github.com/gfm/\n\n[strikethrough]: https://github.github.com/gfm/#strikethrough-extension-\n\n[tables]: https://github.github.com/gfm/#tables-extension-\n\n[tasklists]: https://github.github.com/gfm/#task-list-items-extension-\n\n[autolink literals]: https://github.github.com/gfm/#autolinks-extension-\n\n[tagfilter]: https://github.github.com/gfm/#disallowed-raw-html-extension-\n\n[footnotes]: https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/\n\n[micromark]: https://github.com/micromark/micromark\n\n[micromark-extension]: https://github.com/micromark/micromark#syntaxextension\n\n[micromark-html-extension]: https://github.com/micromark/micromark#htmlextension\n\n[gfm-strikethrough]: https://github.com/micromark/micromark-extension-gfm-strikethrough\n\n[gfm-strikethrough-options]: https://github.com/micromark/micromark-extension-gfm-strikethrough#options\n\n[gfm-autolink-literal]: https://github.com/micromark/micromark-extension-gfm-autolink-literal\n\n[gfm-footnote]: https://github.com/micromark/micromark-extension-gfm-footnote\n\n[gfm-footnote-html-options]: https://github.com/micromark/micromark-extension-gfm-footnote#htmloptions\n\n[gfm-table]: https://github.com/micromark/micromark-extension-gfm-table\n\n[gfm-tagfilter]: https://github.com/micromark/micromark-extension-gfm-tagfilter\n\n[gfm-task-list-item]: https://github.com/micromark/micromark-extension-gfm-task-list-item\n\n[remark-gfm]: https://github.com/remarkjs/remark-gfm\n\n[mdast-util-gfm]: https://github.com/syntax-tree/mdast-util-gfm\n\n[api-gfm]: #gfmoptions\n\n[api-gfm-html]: #gfmhtmloptions\n\n[api-options]: #options\n\n[api-html-options]: #htmloptions\n","readmeFilename":"readme.md","_rev":"1-39c618730586f310230693b2e2135210"}