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
dotnet add package Westwind.HtmlPackager --version
<PackageReference Include="Westwind.HtmlPackager" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Westwind.HtmlPackager --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Version History

Version Downloads Last updated 153 11/6/2018
0.1.4 114 11/1/2018
0.1.3 123 9/10/2018
0.1.0 121 8/27/2018