1.0.0 • Published 6 years ago
@lhuanyu/word2html v1.0.0
word2html
A tiny tool to convert Microsoft Word document to HTML in Nodejs
TODO
- custom style
- recognizing font
Install
npm install word2html --save
or
yarn add install word2html
Usage
var path = require('path');
var word2html = require('word2html');
//Word document's absolute path
var absPath = path.join(__dirname,'example.docx');
word2html(absPath)
the html generated in your WorkSpace.
1.0.0
6 years ago