项目作者: TiagoDanin

项目描述 :
Convert .docx file to .pdf
高级语言: JavaScript
项目地址: git://github.com/TiagoDanin/DocxToPdf-CLI.git
创建时间: 2018-11-20T10:39:13Z
项目社区:https://github.com/TiagoDanin/DocxToPdf-CLI

开源协议:MIT License

下载


DocxToPdf CLI

Node Version Downloads

Convert .docx file to .pdf

Installation

Module available through the npm registry. It can be installed using the npm or yarn command line tools.

  1. # NPM
  2. npm install docxtopdf-cli --global
  3. # Or Using Yarn
  4. yarn global add docxtopdf-cli

Usage

  1. docxtopdf-cli --docx='file.docx' --pdf='file.pdf'

Tests

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

  1. # NPM
  2. npm test
  3. # Or Using Yarn
  4. yarn test

Dependencies

  • docx-pdf: Package to convert docx file to pdf
  • 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. List of all contributors.

License

MIT © TiagoDanin