@thasmorato/docx-parser
Version:
A modern JavaScript library for parsing and processing Microsoft Word DOCX documents with support for both buffer and stream operations. Features incremental parsing, checkbox detection, footnote support, and document validation.
104 lines • 2.8 kB
JSON
{
"name": "@thasmorato/docx-parser",
"version": "1.4.0",
"description": "A modern JavaScript library for parsing and processing Microsoft Word DOCX documents with support for both buffer and stream operations. Features incremental parsing, checkbox detection, footnote support, and document validation.",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"keywords": [
"docx",
"parser",
"document",
"word",
"microsoft",
"office",
"ooxml",
"typescript",
"buffer",
"stream",
"generator",
"async",
"incremental",
"checkbox",
"footnote",
"validation",
"clean-architecture",
"memory-efficient"
],
"author": {
"name": "ThaSMorato",
"email": "thales.morato@example.com",
"url": "https://github.com/ThaSMorato"
},
"license": "MIT",
"type": "module",
"engines": {
"node": ">=22.11.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@types/node": "^22.11.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vitest/coverage-v8": "^1.0.4",
"@vitest/ui": "^1.0.4",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"prettier": "^3.1.1",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.0.4"
},
"dependencies": {
"jszip": "^3.10.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ThaSMorato/docx-parser.git"
},
"bugs": {
"url": "https://github.com/ThaSMorato/docx-parser/issues"
},
"homepage": "https://github.com/ThaSMorato/docx-parser#readme",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/ThaSMorato"
},
"scripts": {
"build": "tsup",
"build:watch": "tsup --watch",
"dev": "tsup --watch",
"test": "vitest run",
"test:ui": "vitest --ui",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"test:e2e": "vitest run tests/e2e",
"lint": "eslint src tests",
"lint:fix": "eslint src tests --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"type-check": "tsc --noEmit",
"clean": "rm -rf dist",
"prebuild": "pnpm clean",
"release": "pnpm prepublishOnly && pnpm publish"
}
}