fast-mhtml2html

1.0.2 • Public • Published

fast-mhtml2html.js

npm version circleci

fast-mhtml2html converts MHTML files to a single HTML file using javascript.

Usage

fast-mhtml2html is compatible with Node >= v10.

It has only been tested with MHTML files built and used with the latest versions of Chrome

Support UTF-8 and GBK

支持中文GBK编码网页

Node.js Example

const mhtml2html = require('fast-mhtml2html');
 
const mhtml = '<your MHTML string or MHTML buffer data>';
const html = mhtml2html.convert(mhtml)

Tips

This project is based on mhtml-parser: https://github.com/testimio/mhtml-parser, and it does not support Chinese GBK

Readme

Keywords

none

Package Sidebar

Install

npm i fast-mhtml2html

Weekly Downloads

5,207

Version

1.0.2

License

MIT

Unpacked Size

25.3 kB

Total Files

7

Last publish

Collaborators

  • activeliang