Skip to content

A command line interface to convert Microsoft files (.docx, .xlsx, .pptx) to pdf using Cloudmersive srvice

Notifications You must be signed in to change notification settings

mmogib/convert-msdocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

convert-msdocs

A command line interface to convert Microsoft files (.docx, .xlsx, .pptx) to pdf using Cloudmersive srvice


Installation

This package is available on npm as convert-msdocs.

npm install --global convert-msdocs

Usage

This simple commands does the following:

  • lists the folders found in the current folder.

  • finds the last updated folder inside the selected folder

  • creates a folder named SOURCE with two subfolders: NATIVE and PDF at the same level as the selected working folder.

  • copies the (ms files) in the last updated folder to NATIVE and

  • converts these files and puts them in PDF

The conversion is done using the service from cloudmersive.com. You need, therefore, to create an api key and set it with the command

convert-msdocs --key <APIKEY>

then run

convert-msdocs

About

A command line interface to convert Microsoft files (.docx, .xlsx, .pptx) to pdf using Cloudmersive srvice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published