🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

docx2str

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docx2str

A simple library that converts .docx files to plain text in the browser

0.0.1
latest
npm
Version published
Weekly downloads
409
-29.24%
Maintainers
1
Weekly downloads
 
Created
Source

DOCX2STR

A simple library that converts .docx files to plain text in a string. At the moment it only works in the browser

To contribute

Since this is a very simple library, I don't have much to say, but I'll list some points to consider when building this project locally:

  • Some commands in the scripts section of the package.json file might only work in a UNIX context.
  • I use typescript to easily generate two builds -> one for ESM, and other for CommonJS
  • El demo para testear y ver la funcionalidad lo hice usando Vite

Notes on Word's XMl format

<w:p> Are tags for paragraphs <w:r> Are tags to divide fragments in one paragraph. They are called runs <w:t> Are tags that have the actual text Info about the xml document

Keywords

word

FAQs

Package last updated on 28 Apr 2023

Did you know?

Socket

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.

Install

Related posts