Skip to content
This repository has been archived by the owner on Apr 10, 2020. It is now read-only.

VuongVu/word2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Install package

Run cmd with

npm i word2pdf

or

yarn add word2pdf

#Use

Example

const word2pdf = require('word2pdf');
const fs = require('fs');

const convert = async () => {
	const data = await word2pdf('test.docx')
	fs.writeFileSync('test.pdf', data);
}

About

Convert doc, docx to pdf file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published