HtmlPackager is a small console .NET SDK tools 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 a automated 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 SDK tooling, there are also packages for Chocolatey (HtmlPackager) as a standalone Console Windows exe, and a Nuget .NET Standard Library package (westwind.htmlpackager) for the underlying API.
dotnet tool install --global dotnet-htmlpackager --version 0.1.7
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local dotnet-htmlpackager --version 0.1.7
This package has no dependencies.