UNPKG

@kayvan/markdown-tree-parser

Version:

A powerful JavaScript library and CLI tool for parsing and manipulating markdown files as tree structures using the remark/unified ecosystem

83 lines (82 loc) 2.18 kB
{ "name": "@kayvan/markdown-tree-parser", "version": "1.6.0", "description": "A powerful JavaScript library and CLI tool for parsing and manipulating markdown files as tree structures using the remark/unified ecosystem", "type": "module", "main": "index.js", "bin": { "md-tree": "bin/md-tree.js" }, "files": [ "index.js", "lib/", "bin/", "README.md", "LICENSE" ], "scripts": { "test": "node test/test.js", "test:cli": "node bin/md-tree.js tree test/sample.md", "test:cli-full": "node test/test-cli.js", "test:all": "npm test && npm run test:cli-full", "example": "node examples/usage.js", "lint": "npx eslint .", "format": "npx prettier --write .", "prepublishOnly": "npm run test:all", "dev": "npm link && md-tree help" }, "dependencies": { "remark-parse": "^11.0.0", "remark-stringify": "^11.0.0", "unified": "^11.0.5", "unist-util-find": "^3.0.0", "unist-util-select": "^5.1.0", "unist-util-visit": "^5.0.0" }, "devDependencies": { "@eslint/js": "^9.29.0", "@types/node": "^24.0.3", "eslint": "^9.29.0", "prettier": "^3.5.3" }, "engines": { "node": ">=16.0.0" }, "keywords": [ "markdown", "parser", "ast", "tree", "remark", "unified", "cli", "documentation", "section-extraction", "markdown-manipulation", "content-management", "mdast" ], "author": { "name": "Kayvan Sylvan", "email": "kayvan@sylvan.com", "url": "https://github.com/ksylvan" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/ksylvan/markdown-tree-parser.git" }, "bugs": { "url": "https://github.com/ksylvan/markdown-tree-parser/issues" }, "homepage": "https://github.com/ksylvan/markdown-tree-parser#readme", "funding": { "type": "github", "url": "https://github.com/sponsors/ksylvan" }, "publishConfig": { "access": "public" }, "preferGlobal": true, "packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977" }