https://github.com/tiagodanin/docxtopdf-cli
Convert .docx file to .pdf
https://github.com/tiagodanin/docxtopdf-cli
covert docx pdf pdf-viewer
Last synced: 24 days ago
JSON representation
Convert .docx file to .pdf
- Host: GitHub
- URL: https://github.com/tiagodanin/docxtopdf-cli
- Owner: TiagoDanin
- License: mit
- Created: 2018-11-20T10:39:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-23T10:50:12.000Z (28 days ago)
- Last Synced: 2025-04-23T11:34:55.158Z (28 days ago)
- Topics: covert, docx, pdf, pdf-viewer
- Language: JavaScript
- Size: 43 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DocxToPdf CLI
[](https://npmjs.org/package/docxtopdf-cli) [](https://npmjs.org/package/docxtopdf-cli) [](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)