docx2str
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i docx2str

Weekly Downloads

188

Version

0.0.1

License

MIT

Unpacked Size

13.1 kB

Total Files

9

Last publish

Collaborators

  • arenamovediza