UNPKG

office-text-extractor

Version:

Yet another library to extract text from MS Office and PDF files

104 lines 2.38 kB
{ "name": "office-text-extractor", "version": "4.0.0", "description": "Yet another library to extract text from MS Office and PDF files", "keywords": [ "text-extraction", "get-text", "parser", "ms-office", "ms-excel", "ms-word", "ms-powerpoint", "xlsx", "docx", "pptx", "pdf" ], "author": "Vedant K <https://github.com/gamemaker1>", "license": "ISC", "repository": { "type": "git", "url": "git+https://github.com/gamemaker1/office-text-extractor.git" }, "bugs": { "url": "https://github.com/gamemaker1/office-text-extractor/issues" }, "homepage": "https://github.com/gamemaker1/office-text-extractor#readme", "exports": "./build/index.js", "types": "./build/index.d.ts", "files": [ "license.md", "readme.md", "package.json", "tsconfig.json", "build/", "source/" ], "type": "module", "engines": { "node": ">= 20" }, "dependencies": { "fflate": "0.8.2", "file-type": "21.1.1", "js-yaml": "4.1.1", "mammoth": "1.11.0", "pdf-parse": "2.4.5", "text-encoding": "0.7.0", "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz", "xml2js": "0.6.2" }, "devDependencies": { "@types/js-yaml": "4.0.9", "@types/node": "25.0.3", "@types/text-encoding": "0.0.40", "@types/xml2js": "0.4.14", "ava": "6.4.1", "esbuild": "0.27.2", "esbuild-plugin-polyfill-node": "0.3.0", "esmock": "2.7.3", "np": "10.2.0", "npm-run-all": "4.1.5", "prettier": "3.7.4", "tsimp": "2.0.12", "typescript": "5.9.3", "xo": "1.2.3" }, "prettier": { "semi": false, "useTabs": true, "singleQuote": true, "bracketSpacing": true, "trailingComma": "all", "proseWrap": "always", "endOfLine": "lf" }, "xo": { "prettier": true, "rules": { "capitalized-comments": 0, "no-await-in-loop": 0, "@typescript-eslint/no-unsafe-return": 0, "@typescript-eslint/no-unsafe-call": 0 } }, "ava": { "extensions": { "ts": "module" }, "nodeArguments": [ "--import=tsimp" ], "environmentVariables": { "TSIMP_DIAG": "ignore" } }, "scripts": { "compile": "tsc", "test": "run-s test:type test:code", "test:type": "tsc --noEmit", "test:lint": "xo source/ test/", "test:code": "ava" } }