UNPKG

rehype-code-titles

Version:

Rehype plugin for parsing code blocks and adding titles to code blocks

71 lines (70 loc) 1.7 kB
{ "name": "rehype-code-titles", "version": "1.2.1", "description": "Rehype plugin for parsing code blocks and adding titles to code blocks", "author": { "email": "me@codybrunner.com", "name": "Cody Brunner", "url": "https://codybrunner.com" }, "repository": { "type": "git", "url": "https://github.com/rockchalkwushock/rehype-code-titles.git" }, "bugs": { "url": "https://github.com/rockchalkwushock/rehype-code-titles/issues" }, "homepage": "https://github.com/rockchalkwushock/rehype-code-titles#readme", "license": "MIT", "files": [ "index.d.ts", "index.js" ], "keywords": [ "code-titles", "html", "mdx", "rehype", "rehype-plugin", "remark", "unified" ], "engines": { "node": ">=16" }, "publishConfig": { "access": "public" }, "exports": "./index.js", "type": "module", "typings": "./index.d.ts", "scripts": { "build": "tsc && cp src/index.js index.js", "changeset": "changeset", "format": "prettier --write .", "lint": "eslint src/**/*.js", "release": "changeset publish", "test": "bun test", "test:coverage": "bun test --coverage", "test:watch": "bun test --watch", "type-check": "tsc --noEmit", "version": "changeset version" }, "dependencies": { "unist-util-visit": "5.0.0" }, "devDependencies": { "@changesets/cli": "2.29.7", "@eslint/js": "9.39.1", "@types/bun": "1.3.2", "@types/hast": "3.0.4", "@types/node": "24.10.1", "@types/unist": "3.0.3", "dedent": "1.7.0", "eslint": "9.39.1", "globals": "16.5.0", "prettier": "3.6.2", "rehype": "13.0.2", "typescript": "5.9.3" } }