0.0.1 • Published 7 years ago

docx-pdf v0.0.1

Weekly downloads
619
License
MIT
Repository
-
Last release
7 years ago

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.

0.0.1

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago