Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

msoconv

0.5.0 • Public • Published

msoconv

Build Status

Document convert package which use microsoft automation

Only for windows platform

attention

  1. Need PowerPoint installed!
  2. Only support PowerPoint file to convert yet.

next

  1. Convert any document type which microsoft office support

usage

const msoconv = require('msoconv')
msoconv('C:/test.pptx', 'C:/test.pdf')
.then(() => {
  console.log('convert ok')
})
.catch(err => {
  // 1 unknown error
  // 2 parameter error
  // 3 powerpoint error
  // 4 presentations error
  // 5 open file error
  // 6 unsupport type
  // 7 save as error
})

release note

0.3

  1. We can convert powerpoint file to bmp, gif, png, pdf, xps, jpg

0.2

  1. Now we can convert document with C++ native code, not exe, 😆.

Install

npm i msoconv

DownloadsWeekly Downloads

4

Version

0.5.0

License

Apache-2.0

Unpacked Size

82.7 kB

Total Files

16

Last publish

Collaborators

  • avatar