HtmlPackager NuGet Package

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).




Got any HtmlPackager Question?





Info

Version: 0.2.5
Author(s): Rick Strahl
Last Update: Saturday, October 19, 2024
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/RickStrahl/Westwind.HtmlPackager
NuGet Url: https://www.nuget.org/packages/Westwind.HtmlPackager


Install
Install-Package Westwind.HtmlPackager
dotnet add package Westwind.HtmlPackager
paket add Westwind.HtmlPackager
Westwind.HtmlPackager Download (Unzip the "nupkg" after downloading)

.NETFramework 4.5 .NETStandard 2.0


Tags



STATS

must-have-score

.8

avg-downloads-per-day

3

days-since-last-release

33