Socket
Socket
Sign inDemoInstall

docx-extractor

Package Overview
Dependencies
42
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    docx-extractor

Extracts comments from docx files


Version published
Weekly downloads
7
decreased by-50%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Node.js: docx-extractor

This module allows you to extract comments in 'docx' files.

Why?

It was a requirement of a job I was working on and I could not find any modules to do this. It was a pain to have to try and create it at the time of the job so I figured I would just make a module incase anyone else ever needed it.

Installation

npm install --save docx-extractor

Usage

docx-extractor is a module that will let you extract the comments embedded into the xml of 'docx' files. It returns all of the comments as an array.

Example:

var dxe = require('docx-extractor');

dxe.extractComments('myfile.docx', function(data){
    console.log(data)
});

Future

I plan to add more methods in the near future for extracting and parsing other specific data out of the 'docx' xml files.

Keywords

FAQs

Last updated on 09 Mar 2017

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