rehype-graphviz-diagram
Version:
A Unified/Rehype Plugin that allows you transform graphviz codes into SVG diagram.
61 lines (60 loc) • 1.62 kB
JSON
{
"name": "rehype-graphviz-diagram",
"version": "1.0.0",
"description": "A Unified/Rehype Plugin that allows you transform graphviz codes into SVG diagram.",
"main": "./dist/index.js",
"type": "module",
"exports": "./dist/index.js",
"scripts": {
"build": "tsc",
"format": "prettier . --write",
"test": "pnpm run build && tsx --test ./__tests__/*.test.ts",
"prepublish": "pnpm run format && pnpm run test && pnpm run build"
},
"keywords": [
"markdown",
"diagram",
"mdx",
"hast",
"graphviz",
"uml",
"plugin",
"rehype",
"text-to-diagram",
"rehype-plugin",
"unified"
],
"bugs": {
"url": "https://github.com/PrinOrange/rehype-graphviz-diagram/issues"
},
"homepage": "https://github.com/PrinOrange/rehype-graphviz-diagram",
"repository": {
"type": "git",
"url": "https://github.com/PrinOrange/rehype-graphviz-diagram"
},
"author": "",
"license": "MIT",
"dependencies": {
"@types/hast": "^3.0.4",
"@viz-js/viz": "^3.11.0",
"hast-util-from-html-isomorphic": "^2.0.0",
"hastscript": "^9.0.1",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^12.0.1",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.13.5",
"jsdom": "^26.0.0",
"prettier": "^3.5.2",
"rehype-parse": "^9.0.1",
"rehype-stringify": "^10.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
"semantic-release": "^24.2.3",
"tsx": "^4.19.3"
}
}