HtmlPackager is a small library used to package HTML content into a self contained HTML document either as a single file or console output stream, a folder with all dependencies copied to local or a zip file. It provides an automated, programmatic way to perform a similar task to what Browser **Save As...** does to capture page output to disk.
The packager can create:
* A single, self-contained and very large HTML file with all resources embedded inline
* A single output stream into StdOut that contains self contained HTML output as above
* An HTML file with all resources copied local into the same folder as the document
* A zip file of the latter output
This package is for the .NET Standard 2.0 library, there are also packages for Chocolatey (HtmlPackager) as a standalone Windows exe, and a cross platform .NET SDK Tool(dotnet-htmlpackager).
Install-Package Westwind.HtmlPackager -Version 0.1.6.5
dotnet add package Westwind.HtmlPackager --version 0.1.6.5
<PackageReference Include="Westwind.HtmlPackager" Version="0.1.6.5" />
paket add Westwind.HtmlPackager --version 0.1.6.5
This package is not used by any popular GitHub repositories.