Hox.Feliz 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Hox.Feliz --version 1.0.0                
NuGet\Install-Package Hox.Feliz -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Hox.Feliz" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hox.Feliz --version 1.0.0                
#r "nuget: Hox.Feliz, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Hox.Feliz as a Cake Addin
#addin nuget:?package=Hox.Feliz&version=1.0.0

// Install Hox.Feliz as a Cake Tool
#tool nuget:?package=Hox.Feliz&version=1.0.0                

Hox

Hox is an extensible HTML rendering library, it provides a set of functions to work with Nodes and compose them together as well as a couple of async rendering functions that support cancellation.

The core features are:

  • A single core Node type that drives the whole rendering mechanism.
  • Side-by-side Asynchronous Nodes, you can add sync or async nodes into sync/async parents/sibling nodes.
  • Cancellable sync/async Rendering process that leverages ValueTasks.
  • Render to a single string or IAsyncEnumerable<string>.
  • A simplistic core DSL based on css selector parsing to generate nodes.

A couple of opt-in extra supported features are:

  • Declarative Shadow DOM support for built-in html elements (e.g. div, article, nav, etc.)
  • Templating functions for Declarative Shadow DOM custom elements.
  • C# and VB.NET compatibility out of the box for the core constructs.
  • Feliz-like API thanks to Feliz.Engine for an F# flavored style.

The core bits are somewhat low level building blocks to enable these kinds of features and possibly more in the future. Feel free to chime in if you have a use case that could be solved by this library!

Check the documentation at hox's website' for more details.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 76 12/10/2024
1.3.0 144 2/12/2024
1.2.0 120 2/5/2024
1.1.1 117 2/3/2024
1.1.0 121 2/3/2024
1.0.0 119 1/27/2024