# docx-pdf

> Package to convert docx file to pdf

Latest version **0.0.1** (published 2017-04-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install docx-pdf
pnpm add docx-pdf
yarn add docx-pdf
bun add docx-pdf
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-04-11 |
| First published | 2017-04-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Sunil Lama |
| Maintainers | kov_lxrumba |
| Keywords | docx, pdf, docxtopdf, convertdocxtopdf |

## Links

- npm: https://www.npmjs.com/package/docx-pdf
- Repository: "https://github.com/SunilRumbaLama/docxToPdf"
- npm.io page: https://npm.io/package/docx-pdf

## Dependencies (2)

- [mammoth](https://npm.io/package/mammoth.md) ^1.3.4
- [html-pdf](https://npm.io/package/html-pdf.md) ^2.1.0

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2017-04-11

## README

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.

---
_Source: https://npm.io/package/docx-pdf · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
