{"bin":{"officeparser":"dist/cli.js"},"bugs":{"url":"https://github.com/harshankur/officeParser/issues"},"dist":{"shasum":"647881d61b987d04dc7fbf8dc78ddb8ced18cc13","tarball":"https://registry.npmjs.org/officeparser/-/officeparser-7.7.0.tgz","fileCount":93,"integrity":"sha512-U93yoEwQINaR31MSgUsIGiNuVN+iWm0V4J3DDI2xIhaOU38G7fq61Ku1tSrn9AQeAipgZmx3pjRDKLSgafepGg==","signatures":[{"sig":"MEUCIQC8BtUlBhoQwR7uKdV6z9/iDGt5Oqjosj0tqc+q6W8oPAIgYHt/L1xD41DZplBVgk5oQIdXxuOQH9UnOTqD+ABOQ1w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/officeparser@7.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12510207},"main":"dist/index.js","name":"officeparser","types":"dist/index.d.ts","author":{"name":"Harsh Ankur"},"module":"dist/index.mjs","browser":"./dist/officeparser.browser.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/officeparser.browser.mjs","require":"./dist/index.js"},"./slim":{"types":"./dist/officeparser.browser.slim.d.ts","import":"./dist/officeparser.browser.slim.mjs","browser":"./dist/officeparser.browser.slim.mjs"}},"funding":"https://github.com/sponsors/harshankur","gitHead":"069a3240f9321820bdd77501963b54ef5a437f7e","license":"MIT","scripts":{"lint":"eslint src","sbom":"npx --yes @cyclonedx/cyclonedx-npm --output-format json --output-file dist/sbom.cdx.json --omit dev","test":"npm run lint && npm run test:clean && npm run build && npm run test:license && npm run test:artifacts && npm run test:parser && npm run test:exhaustive && npm run test:generator && npm run test:security && npm run test:cli","build":"npm run sync:versions && npm run build:node && npm run build:esm-wrapper && npm run build:browser:types && npm run build:browser","clean":"node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && npm run test:clean","prepare":"husky","test:cli":"npx tsx test/cli/testCli.ts","sync:docs":"node -e \"const fs=require('fs');fs.mkdirSync('docs/dist',{recursive:true});for(const f of ['officeparser.browser.iife.js','officeparser.browser.mjs','officeparser.browser.slim.iife.js','officeparser.browser.slim.mjs'])fs.copyFileSync('dist/'+f,'docs/dist/'+f);fs.mkdirSync('docs/test/files',{recursive:true});fs.cpSync('test/files','docs/test/files',{recursive:true})\"","test:fast":"npm run lint && npm run test:parser:fast && npm run test:exhaustive && npm run test:generator:fast && npm run test:security && npm run test:cli:fast","build:node":"tsc","test:clean":"node -e \"for(const d of ['test/results','test/generator/results','test/generator/output','test/parser/results','test/parser/output','test/cli/results'])require('fs').rmSync(d,{recursive:true,force:true})\"","test:parser":"npx tsx test/parser/testOfficeParser.ts","test:license":"npm run sbom && node scripts/validate-licenses.js","build:browser":"node build_browser.js && npm run sync:docs","sync:versions":"node scripts/sync-pdfjs-versions.js","test:baseline":"npm run test:parser:baseline && npm run test:generator:baseline","test:cli:fast":"npx tsx test/cli/testCli.ts fast","test:security":"npx tsx test/security/testSanitization.ts","prepublishOnly":"npm run build","test:artifacts":"npx tsx test/testShippingArtifacts.ts","test:generator":"npx tsx test/generator/testOfficeGenerator.ts","test:exhaustive":"npx tsx test/testExhaustive.ts","test:visualizer":"node test/testVisualizer.js","test:integration":"node test/testIntegration.js","test:parser:fast":"npx tsx test/parser/testOfficeParser.ts fast","build:esm-wrapper":"node scripts/generate-esm-wrapper.js","build:browser:types":"dts-bundle-generator --no-check -o dist/officeparser.browser.d.ts src/index.ts && node -e \"require('fs').copyFileSync('dist/officeparser.browser.d.ts','dist/officeparser.browser.slim.d.ts')\"","test:generator:fast":"npx tsx test/generator/testOfficeGenerator.ts fast","test:parser:baseline":"npx tsx test/parser/testOfficeParser.ts baseline","test:generator:baseline":"npx tsx test/generator/testOfficeGenerator.ts baseline"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:46eca351-4ec7-4466-80f4-58b4ab1e3327"}},"homepage":"https://officeparser.harshankur.com","keywords":["office","docx","pptx","xlsx","odt","odp","ods","pdf","rtf","csv","parser","text extraction","document parser","word","excel","powerpoint","spreadsheet","presentation","slides","ast","ocr","typescript","browser","metadata","formatting","attachments","tesseract","pdf.js","structured-data","openoffice","libreoffice","generator","rag","chunking","markdown","html","epub","ebook"],"repository":{"url":"git+https://github.com/harshankur/officeParser.git","type":"git"},"_npmVersion":"11.17.0","description":"A robust, strictly-typed Node.js and Browser library for parsing office files (.docx, .pptx, .xlsx, .odt, .odp, .ods, .pdf, .rtf, .csv, .md, .html, .epub) and generating high-fidelity outputs in Markdown, HTML, CSV, RTF, PDF, EPUB, and RAG-focused chunks.","directories":{},"maintainers":[{"name":"harshankur","email":"harshankur@outlook.com"}],"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"fflate":"^0.8.3","file-type":"^22.0.1","pdfjs-dist":"6.1.200","tesseract.js":"^7.0.0","@xmldom/xmldom":"^0.9.10"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","husky":"^9.1.7","buffer":"^6.0.3","eslint":"^10.8.0","esbuild":"^0.28.1","process":"^0.11.10","postject":"^1.0.0-alpha.6","puppeteer":"^24.43.1","typescript":"^6.0.3","@types/node":"^26.1.1","dts-bundle-generator":"^9.5.1","@typescript-eslint/parser":"^8.65.0","@typescript-eslint/eslint-plugin":"^8.65.0","esbuild-plugins-node-modules-polyfill":"^1.8.2"},"peerDependenciesMeta":{"puppeteer":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/officeparser_7.7.0_1787040098029_0.41489176568809993","host":"s3://npm-registry-packages-npm-production"},"_id":"officeparser@7.7.0","version":"7.7.0"}