{"_id":"@03balogun/marked","_rev":"1-d8fbf6c1eb1574ce8bada08eafeefdcc","name":"@03balogun/marked","description":"A markdown parser built for speed","dist-tags":{"latest":"5.0.6"},"versions":{"5.0.5":{"name":"@03balogun/marked","version":"5.0.5","keywords":["markdown","markup","html"],"author":{"name":"Christopher Jeffrey"},"license":"MIT","_id":"@03balogun/marked@5.0.5","maintainers":[{"name":"03balogun","email":"03balogun@gmail.com"}],"homepage":"https://marked.js.org","bugs":{"url":"http://github.com/markedjs/marked/issues"},"bin":{"marked":"bin/marked.js"},"man":["./man/marked.1"],"dist":{"shasum":"8f73de1790fab1efc06fd3850237ab4640ac3106","tarball":"https://registry.npmjs.org/@03balogun/marked/-/marked-5.0.5.tgz","fileCount":21,"integrity":"sha512-bz3LnjTeaG6EBrH2gkeVP2lzmFvtq2q+sC4kA+Jch9CsVwHyi1gYGoTpTQM1fmEfSmEhxnyH5jG6PrAUcxNqjg==","signatures":[{"sig":"MEUCIQDFJuuB3wbLssEwuSbLALQqF8MrsTtlk7Pnn3OcWbmcbwIgYRdzXrniEa6GE1/xxfbOiMgF5B+bm6uwhll18eSezmY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":443000},"main":"./lib/marked.cjs","tags":["markdown","markup","html"],"type":"module","module":"./lib/marked.esm.js","browser":"./lib/marked.umd.js","engines":{"node":">= 18"},"exports":{".":{"import":"./lib/marked.esm.js","default":"./lib/marked.cjs"},"./bin/marked":"./bin/marked.js","./package.json":"./package.json"},"gitHead":"34104206cc9d752ee9ff1b534e99c54da3b917a1","scripts":{"lint":"eslint --fix .","test":"jasmine --config=jasmine.json","bench":"npm run rollup && node test/bench.js","build":"npm run rollup && npm run minify","rules":"node test/rules.js","minify":"uglifyjs lib/marked.umd.js -cm  --comments /Copyright/ -o marked.min.js","rollup":"rollup -c rollup.config.js","test:all":"npm test && npm run test:lint","test:lint":"eslint .","test:unit":"npm test -- test/unit/**/*-spec.js","build:docs":"node build-docs.js","test:redos":"node test/recheck.js > vuln.js","test:specs":"npm test -- test/specs/**/*-spec.js","build:reset":"git checkout upstream/master lib/marked.cjs lib/marked.umd.js lib/marked.esm.js marked.min.js","test:update":"node test/update-specs.js"},"_npmUser":{"name":"03balogun","email":"03balogun@gmail.com"},"repository":{"url":"git://github.com/markedjs/marked.git","type":"git"},"_npmVersion":"10.5.0","description":"A markdown parser built for speed","directories":{},"_nodeVersion":"20.12.1","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.42.0","rollup":"^3.23.0","cheerio":"^1.0.0-rc.12","jasmine":"^5.0.0","recheck":"^4.4.5","titleize":"^3.0.0","uglify-js":"^3.17.4","commonmark":"0.30.0","node-fetch":"^3.3.1","@babel/core":"^7.22.1","markdown-it":"13.0.1","front-matter":"^4.0.2","highlight.js":"^11.8.0","eslint-plugin-n":"^15.7.0","semantic-release":"^21.0.3","@babel/preset-env":"^7.22.4","vuln-regex-detector":"^1.3.0","@rollup/plugin-babel":"^6.0.3","eslint-plugin-import":"^2.27.5","@markedjs/html-differ":"^4.0.2","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^10.0.3","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","@semantic-release/github":"^9.0.2","@semantic-release/commit-analyzer":"^10.0.0","@semantic-release/release-notes-generator":"^11.0.2"},"_npmOperationalInternal":{"tmp":"tmp/marked_5.0.5_1717065531588_0.9615109656836505","host":"s3://npm-registry-packages"}},"5.0.6":{"name":"@03balogun/marked","description":"A markdown parser built for speed","author":{"name":"Christopher Jeffrey"},"version":"5.0.6","type":"module","main":"./lib/marked.cjs","module":"./lib/marked.esm.js","browser":"./lib/marked.umd.js","bin":{"marked":"bin/marked.js"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"man":["./man/marked.1"],"exports":{".":{"import":"./lib/marked.esm.js","default":"./lib/marked.cjs"},"./bin/marked":"./bin/marked.js","./package.json":"./package.json"},"repository":{"type":"git","url":"git://github.com/markedjs/marked.git"},"homepage":"https://marked.js.org","bugs":{"url":"http://github.com/markedjs/marked/issues"},"license":"MIT","keywords":["markdown","markup","html"],"tags":["markdown","markup","html"],"devDependencies":{"@babel/core":"^7.22.1","@babel/preset-env":"^7.22.4","@markedjs/html-differ":"^4.0.2","@rollup/plugin-babel":"^6.0.3","@semantic-release/commit-analyzer":"^10.0.0","@semantic-release/git":"^10.0.1","@semantic-release/github":"^9.0.2","@semantic-release/npm":"^10.0.3","@semantic-release/release-notes-generator":"^11.0.2","cheerio":"^1.0.0-rc.12","commonmark":"0.30.0","eslint":"^8.42.0","eslint-config-standard":"^17.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-n":"^15.7.0","eslint-plugin-promise":"^6.1.1","front-matter":"^4.0.2","highlight.js":"^11.8.0","jasmine":"^5.0.0","markdown-it":"13.0.1","node-fetch":"^3.3.1","recheck":"^4.4.5","rollup":"^3.23.0","semantic-release":"^21.0.3","titleize":"^3.0.0","uglify-js":"^3.17.4","vuln-regex-detector":"^1.3.0"},"scripts":{"test":"jasmine --config=jasmine.json","test:all":"npm test && npm run test:lint","test:unit":"npm test -- test/unit/**/*-spec.js","test:specs":"npm test -- test/specs/**/*-spec.js","test:lint":"eslint .","test:redos":"node test/recheck.js > vuln.js","test:update":"node test/update-specs.js","rules":"node test/rules.js","bench":"npm run rollup && node test/bench.js","lint":"eslint --fix .","build:reset":"git checkout upstream/master lib/marked.cjs lib/marked.umd.js lib/marked.esm.js marked.min.js","build":"npm run rollup && npm run minify","build:docs":"node build-docs.js","rollup":"rollup -c rollup.config.js","minify":"uglifyjs lib/marked.umd.js -cm  --comments /Copyright/ -o marked.min.js"},"engines":{"node":">= 18"},"_id":"@03balogun/marked@5.0.6","gitHead":"00cf6d35911f115a17fc0fe461d81c5b35a25e1f","_nodeVersion":"20.12.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-QOvPl9dBtUB1ZCXF6uIIrhy9OmzePRQ6uRocgr91NuNwIe4S5hj+/mrBhI0eEhXfhb3I5QMbJfvLvkEb6kv1cA==","shasum":"1f87baefa00d5081b7a145e7e82cbaf4336f1a54","tarball":"https://registry.npmjs.org/@03balogun/marked/-/marked-5.0.6.tgz","fileCount":22,"unpackedSize":462895,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjHP5kltYpGP5bDlgXChHruDevmpelVFjvwUcV8eUYMAiEA/S5ZVCeEc9bBL0AY6l+fNWxqFx8Ndwy1vAfTe3VvrXw="}]},"_npmUser":{"name":"03balogun","email":"03balogun@gmail.com"},"directories":{},"maintainers":[{"name":"03balogun","email":"03balogun@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/marked_5.0.6_1717070494005_0.6458778637742755"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-30T10:38:51.476Z","modified":"2024-05-30T12:01:34.333Z","5.0.5":"2024-05-30T10:38:51.735Z","5.0.6":"2024-05-30T12:01:34.144Z"},"maintainers":[{"name":"03balogun","email":"03balogun@gmail.com"}],"author":{"name":"Christopher Jeffrey"},"repository":{"type":"git","url":"git://github.com/markedjs/marked.git"},"keywords":["markdown","markup","html"],"license":"MIT","homepage":"https://marked.js.org","bugs":{"url":"http://github.com/markedjs/marked/issues"},"readme":"<a href=\"https://marked.js.org\">\n  <img width=\"60px\" height=\"60px\" src=\"https://marked.js.org/img/logo-black.svg\" align=\"right\" />\n</a>\n\n# Marked\n\n[![npm](https://badgen.net/npm/v/marked)](https://www.npmjs.com/package/marked)\n[![gzip size](https://badgen.net/badgesize/gzip/https://cdn.jsdelivr.net/npm/marked/marked.min.js)](https://cdn.jsdelivr.net/npm/marked/marked.min.js)\n[![install size](https://badgen.net/packagephobia/install/marked)](https://packagephobia.now.sh/result?p=marked)\n[![downloads](https://badgen.net/npm/dt/marked)](https://www.npmjs.com/package/marked)\n[![github actions](https://github.com/markedjs/marked/workflows/Tests/badge.svg)](https://github.com/markedjs/marked/actions)\n[![snyk](https://snyk.io/test/npm/marked/badge.svg)](https://snyk.io/test/npm/marked)\n\n- ⚡ built for speed\n- ⬇️ low-level compiler for parsing markdown without caching or blocking for long periods of time\n- ⚖️ light-weight while implementing all markdown features from the supported flavors & specifications\n- 🌐 works in a browser, on a server, or from a command line interface (CLI)\n\n## Demo\n\nCheckout the [demo page](https://marked.js.org/demo/) to see marked in action ⛹️\n\n## Docs\n\nOur [documentation pages](https://marked.js.org) are also rendered using marked 💯\n\nAlso read about:\n\n* [Options](https://marked.js.org/#/USING_ADVANCED.md)\n* [Extensibility](https://marked.js.org/#/USING_PRO.md)\n\n## Compatibility\n\n**Node.js:** Only [current and LTS](https://nodejs.org/en/about/releases/) Node.js versions are supported. End of life Node.js versions may become incompatible with Marked at any point in time.\n\n**Browser:** Not IE11 :)\n\n## Installation\n\n**CLI:** \n\n```sh \nnpm install -g marked\n```\n\n**In-browser:** \n\n```sh\nnpm install marked\nnpm install @types/marked # For TypeScript projects\n```\n\n## Usage\n\n### Warning: 🚨 Marked does not [sanitize](https://marked.js.org/#/USING_ADVANCED.md#options) the output HTML. Please use a sanitize library, like [DOMPurify](https://github.com/cure53/DOMPurify) (recommended), [sanitize-html](https://github.com/apostrophecms/sanitize-html) or [insane](https://github.com/bevacqua/insane) on the *output* HTML! 🚨\n\n```\nDOMPurify.sanitize(marked.parse(`<img src=\"x\" onerror=\"alert('not happening')\">`));\n```\n\n**CLI**\n\n``` bash\n# Example with stdin input\n$ marked -o hello.html\nhello world\n^D\n$ cat hello.html\n<p>hello world</p>\n```\n\n```bash\n# Print all options\n$ marked --help\n```\n\n**Browser**\n\n```html\n<!doctype html>\n<html>\n<head>\n  <meta charset=\"utf-8\"/>\n  <title>Marked in the browser</title>\n</head>\n<body>\n  <div id=\"content\"></div>\n  <script src=\"https://cdn.jsdelivr.net/npm/marked/marked.min.js\"></script>\n  <script>\n    document.getElementById('content').innerHTML =\n      marked.parse('# Marked in the browser\\n\\nRendered by **marked**.');\n  </script>\n</body>\n</html>\n```\n\n## License\n\nCopyright (c) 2011-2022, Christopher Jeffrey. (MIT License)\n","readmeFilename":"README.md"}