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.
#r "nuget: Westwind.HtmlPackager,"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 502 11/6/2018
0.1.4 325 11/1/2018
0.1.3 338 9/10/2018
0.1.0 334 8/27/2018