
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@vox-ai-app/parser
Advanced tools
Document parsing for Vox. Extracts plain text from PDF, DOCX, PPTX, XLSX, ODT, RTF, and XML files.
npm install @vox-ai-app/parser
import { readDocumentFile, PARSED_EXTENSIONS } from '@vox-ai-app/parser'
// Read any supported document
const result = await readDocumentFile('/path/to/file.pdf')
console.log(result.text) // extracted plain text
console.log(result.truncated) // true if maxChars was hit
// Check if an extension is supported
PARSED_EXTENSIONS.has('.pdf') // true
PARSED_EXTENSIONS.has('.docx') // true
import parseDocx from '@vox-ai-app/parser/formats/docx'
import parsePdf from '@vox-ai-app/parser/formats/pdf'
import parsePptx from '@vox-ai-app/parser/formats/pptx'
import parseXlsx from '@vox-ai-app/parser/formats/xlsx'
import parseOpenDoc from '@vox-ai-app/parser/formats/opendoc'
import parseRtf from '@vox-ai-app/parser/formats/rtf'
import parseXml from '@vox-ai-app/parser/formats/xml'
const { text } = await parseDocx('/path/to/file.docx', 60_000)
Each parser accepts (filePath, maxChars?) and returns { text, truncated }.
| Extension | Parser |
|---|---|
.pdf | unpdf |
.docx | adm-zip |
.pptx | adm-zip |
.xlsx | adm-zip |
.odt, .odp, .ods | adm-zip |
.rtf | built-in |
.xml, .svg | built-in |
MIT
FAQs
Document parsing (PDF, DOCX, PPTX, XLSX, ODT, RTF) for Vox
We found that @vox-ai-app/parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.