{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/commonmark-js/","markdown":"https://findsoftware.frbit.cloud/commonmark-js.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"commonmark-js","name":"commonmark.js","urls":{"repository":"https://github.com/commonmark/commonmark.js"},"category":["library"],"description":"JavaScript parser and renderer for CommonMark that turns Markdown into a syntax tree and renders it to HTML or XML.","maintainer":"John MacFarlane","firstRelease":2014,"hosting":["node"],"language":"javascript","runtime":["node"],"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":null,"renderingModes":null,"installMethod":"npm","licenseModel":"open-source","license":"BSD-2-Clause","currentMajor":"0","latestReleaseDate":"2024-09-19T00:00:00.000Z","githubStargazers":1570,"contributors":48,"packagistDownloads":null,"npmWeeklyDownloads":1322994,"dependentRepos":6702,"dependentPackages":428,"checkedAt":"2026-11-04T00:00:00.000Z","addedAt":"2026-11-04T00:00:00.000Z","sources":[{"field":"urls","url":"https://github.com/commonmark/commonmark.js","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/commonmark/commonmark.js/master/LICENSE","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"firstRelease","url":"https://registry.npmjs.org/commonmark","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"category","url":"https://github.com/commonmark/commonmark.js","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/commonmark/commonmark.js","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"runtime","url":"https://raw.githubusercontent.com/commonmark/commonmark.js/master/README.md","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/commonmark/commonmark.js/master/README.md","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/commonmark/commonmark.js/master/README.md","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/commonmark/commonmark.js/master/README.md","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"license","url":"https://registry.npmjs.org/commonmark/latest","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"currentMajor","url":"https://registry.npmjs.org/commonmark/latest","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://github.com/commonmark/commonmark.js/releases/tag/0.31.2","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/commonmark/commonmark.js","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/commonmark/commonmark.js/contributors","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-10-26:2026-11-01/commonmark","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/commonmark","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/commonmark","checkedAt":"2026-11-04T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"commonmark.js is the JavaScript reference implementation of CommonMark, a specified form of Markdown. It parses a document into a syntax tree that code can inspect or change, and renders the tree to HTML or to an XML representation. The package is installed from npm, and a single-file distribution is available for client-side use.\n\n## Worth knowing\n\nThe library does not sanitize link attributes or raw HTML. For untrusted input, the README recommends its safe option or an HTML sanitizer on the output."}