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

docx-pdf

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

docx-pdf

Package to convert docx file to pdf

0.0.1
latest
npm
Version published
Weekly downloads
3K
-10.83%
Maintainers
1
Weekly downloads
 
Created
Source

Docx to pdf

A library that converts docx file to pdf.

Installation

npm install docx-pdf --save

Usage

var docxConverter = require('docx-pdf');

docxConverter('./input.docx','./output.pdf',function(err,result){
  if(err){
    console.log(err);
  }
  console.log('result'+result);
});

its basically docxConverter(inputPath,outPath,function(err,result){
  if(err){
    console.log(err);
  }
  console.log('result'+result);
});

Output should be output.pdf which will be produced on the output path your provided

Contributing

This was created just for solo usage purpose. Anybody is welcome to contribute to it.

Keywords

docx

FAQs

Package last updated on 11 Apr 2017

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