Westwind.HtmlPackager
HtmlPackager is a small utility class used to package HTML content into a self contained HTML document either as a single file, a folder with all dependencies copied to local or a zip file. It provides a 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 * An HTML file with all resources copied local into the same folder as the document * A zip file of the latter output This library provides both a .NET Library and a Windows Console application EXE in a separate Chocolatey Package.
Install
dotnet add package Westwind.HtmlPackager --version 0.1.4
Install-Package Westwind.HtmlPackager -Version 0.1.4
<PackageReference Include="Westwind.HtmlPackager" Version="0.1.4" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.