Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tiagodanin/docxtopdf-cli

Convert .docx file to .pdf
https://github.com/tiagodanin/docxtopdf-cli

covert docx pdf pdf-viewer

Last synced: about 2 months ago
JSON representation

Convert .docx file to .pdf

Awesome Lists containing this project

README

        

# DocxToPdf CLI

[![Node](https://img.shields.io/node/v/docxtopdf-cli.svg?style=flat-square)](https://npmjs.org/package/docxtopdf-cli) [![Version](https://img.shields.io/npm/v/docxtopdf-cli.svg?style=flat-square)](https://npmjs.org/package/docxtopdf-cli) [![Downloads](https://img.shields.io/npm/dt/docxtopdf-cli.svg?style=flat-square)](https://npmjs.org/package/docxtopdf-cli)

Convert .docx file to .pdf

## Installation

Module available through the [npm registry](https://www.npmjs.com/). It can be installed using the [`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally) or [`yarn`](https://yarnpkg.com/en/) command line tools.

```sh
# NPM
npm install docxtopdf-cli --global
# Or Using Yarn
yarn global add docxtopdf-cli
```

## Usage

```sh
docxtopdf-cli --docx='file.docx' --pdf='file.pdf'
```

## Tests

To run the test suite, first install the dependencies, then run `test`:

```sh
# NPM
npm test
# Or Using Yarn
yarn test
```

## Dependencies

- [docx-pdf](https://ghub.io/docx-pdf): Package to convert docx file to pdf
- [yargs](https://ghub.io/yargs): yargs the modern, pirate-themed, successor to optimist.

## Contributors

Pull requests and stars are always welcome. For bugs and feature requests, please [create an issue](https://github.com/TiagoDanin/DocxToPdf-CLI/issues). [List of all contributors](https://github.com/TiagoDanin/DocxToPdf-CLI/graphs/contributors).

## License

[MIT](LICENSE) © [TiagoDanin](https://TiagoDanin.github.io)