Socket
Socket
Sign inDemoInstall

docx2str

Package Overview
Dependencies
13
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
75
decreased by-51.61%
Maintainers
1
Install size
1.72 MB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 28 Apr 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc