Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tiagodanin/docxtopdf-cli
- Owner: TiagoDanin
- License: mit
- Created: 2018-11-20T10:39:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-03T19:32:08.000Z (3 months ago)
- Last Synced: 2024-10-23T12:58:03.948Z (2 months ago)
- Topics: covert, docx, pdf, pdf-viewer
- Language: JavaScript
- Size: 48.8 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)