UNPKG

astro-d2

Version:

Astro integration and remark plugin to transform D2 Markdown code blocks into diagrams.

54 lines 1.3 kB
{ "name": "astro-d2", "version": "0.8.0", "license": "MIT", "description": "Astro integration and remark plugin to transform D2 Markdown code blocks into diagrams.", "author": "HiDeoo <github@hideoo.dev> (https://hideoo.dev)", "type": "module", "exports": { ".": "./index.ts", "./package.json": "./package.json" }, "dependencies": { "hast-util-from-html": "^2.0.3", "hast-util-to-html": "^9.0.4", "unist-util-visit": "^5.0.0" }, "devDependencies": { "@types/hast": "^3.0.4", "@types/mdast": "^4.0.4", "@types/node": "^18.19.68", "remark": "^15.0.1", "vfile": "^6.0.3", "vitest": "2.1.6" }, "peerDependencies": { "astro": ">=5.0.0" }, "engines": { "node": ">=18" }, "packageManager": "pnpm@8.15.1", "publishConfig": { "access": "public", "provenance": true }, "sideEffects": false, "keywords": [ "markdown", "d2", "diagram", "astro-integration" ], "homepage": "https://github.com/HiDeoo/astro-d2", "repository": { "type": "git", "url": "https://github.com/HiDeoo/astro-d2.git", "directory": "packages/astro-d2" }, "bugs": "https://github.com/HiDeoo/astro-d2/issues", "scripts": { "test": "vitest", "lint": "eslint . --cache --max-warnings=0" } }