UNPKG

chunkdown

Version:

A tree-based markdown text splitter that understands document structure to create semantically meaningful chunks for RAG applications

60 lines 1.55 kB
{ "name": "chunkdown", "version": "2.4.3", "description": "A tree-based markdown text splitter that understands document structure to create semantically meaningful chunks for RAG applications", "type": "module", "types": "./dist/index.d.ts", "exports": { ".": "./dist/index.js", "./package.json": "./package.json" }, "keywords": [ "markdown", "splitter", "textsplitter", "chunk", "embedding" ], "author": { "name": "Chris Cook", "email": "chris@zirkelc.dev", "url": "https://zirkelc.dev" }, "repository": { "type": "git", "url": "git+https://github.com/zirkelc/chunkdown.git" }, "license": "MIT", "files": [ "dist" ], "dependencies": { "mdast-util-from-markdown": "^2.0.2", "mdast-util-gfm": "^3.1.0", "mdast-util-heading-range": "^4.0.0", "mdast-util-to-markdown": "^2.1.2", "mdast-util-to-string": "^4.0.0", "micromark-extension-gfm": "^3.0.0", "unist-util-visit": "^5.0.0" }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.0", "@biomejs/biome": "2.2.6", "@total-typescript/tsconfig": "^1.0.4", "@types/mdast": "^4.0.4", "f-strings": "^0.0.0", "publint": "^0.3.15", "tsdown": "^0.15.9", "tsx": "^4.20.3", "typescript": "^5.8.3", "vitest": "^3.2.4" }, "main": "./dist/index.js", "module": "./dist/index.js", "scripts": { "dev": "pnpm --filter chunkdown-www dev", "test": "vitest", "build": "tsdown", "lint": "biome check . --write --no-errors-on-unmatched" } }