2.14.1 • Published 2 months ago

@joplin/htmlpack v2.14.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

HTMLPACK

Pack an HTML and all its JavaScript, CSS, image, fonts, and external files into a single HTML file. JavaScript and CSS is embedded in STYLE and SCRIPT tags, while all other files and images are converted to dataUri format and embedded in the document.

Usage

import htmlpack from '@joplin/htmlpack';
htmlpack('/path/to/input.html', '/path/to/output.html');

Notes

  • The script works in synchronous way so it will block the calling process while running.
  • No security check on what's included.

License

MIT

2.14.1

2 months ago

2.13.4

5 months ago

2.13.2

6 months ago

2.13.3

6 months ago

2.12.1

8 months ago

2.13.1

6 months ago

2.11.1

10 months ago

2.11.2

10 months ago

2.10.1

1 year ago

2.10.2

1 year ago

2.9.1

2 years ago

2.8.1

2 years ago

2.6.1

2 years ago