magic.lambda.html 14.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package magic.lambda.html --version 14.0.4
                    
NuGet\Install-Package magic.lambda.html -Version 14.0.4
                    
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="magic.lambda.html" Version="14.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="magic.lambda.html" Version="14.0.4" />
                    
Directory.Packages.props
<PackageReference Include="magic.lambda.html" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add magic.lambda.html --version 14.0.4
                    
#r "nuget: magic.lambda.html, 14.0.4"
                    
#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.
#addin nuget:?package=magic.lambda.html&version=14.0.4
                    
Install magic.lambda.html as a Cake Addin
#tool nuget:?package=magic.lambda.html&version=14.0.4
                    
Install magic.lambda.html as a Cake Tool

Parsing HTML from Hyperlambda

This project provides HTML helper slots for Magic. More specifically, it provides the following slots.

  • [html2lambda] - Creates a lambda object out of an HTML input string.

Usage

.html:@"<html>
  <head>
    <title>Howdy</title>
  </head>
  <body>
    <p class=""foo""></p>
  </body>
</html>"

html2lambda:x:-

The above results in something resembling the following.

html2lambda
   html
      head
         title
            #text:Howdy
      body
         p
            @class:foo

Attributes starts out with the @ character, children nodes does not - While text content inside of elements will start out with #. This implies you'll need to use escaped expression iterators when traversing the resulting node lambda object. For instance, to retrieve the above p element's inner text, you could use something such as the following.

get-value:x:-/**/\#text

Project website

The source code for this repository can be found at github.com/polterguy/magic.lambda.html, and you can provide feedback, provide bug reports, etc at the same place.

Quality gates

  • Build status
  • Quality Gate Status
  • Bugs
  • Code Smells
  • Coverage
  • Duplicated Lines (%)
  • Lines of Code
  • Maintainability Rating
  • Reliability Rating
  • Security Rating
  • Technical Debt
  • Vulnerabilities
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on magic.lambda.html:

Package Downloads
magic.library

Helper project for Magic to wire up everything easily by simply adding one package, and invoking two simple methods. When using Magic, this is (probably) the only package you should actually add, since this package pulls in everything else you'll need automatically, and wires up everything sanely by default. To use package go to https://polterguy.github.io

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
17.3.9 882 2/17/2024
17.3.7 170 2/12/2024
17.3.6 140 2/12/2024
17.3.4 150 2/9/2024
17.3.3 124 2/8/2024
17.3.2 137 2/2/2024
17.3.1 126 1/30/2024
17.2.1 132 1/30/2024
17.2.0 155 1/22/2024
17.1.7 199 1/12/2024
17.1.6 181 1/11/2024
17.1.5 195 1/5/2024
17.0.1 238 1/1/2024
17.0.0 351 12/14/2023
16.11.5 351 11/12/2023
16.9.0 329 10/9/2023
16.7.0 557 7/11/2023
16.4.1 406 7/2/2023
16.4.0 418 6/22/2023
16.3.1 362 6/7/2023
16.3.0 361 5/28/2023
16.1.9 649 4/30/2023
15.10.11 501 4/13/2023
15.9.1 623 3/27/2023
15.9.0 473 3/24/2023
15.8.2 518 3/20/2023
15.7.0 413 3/6/2023
15.5.0 1,595 1/28/2023
15.2.0 692 1/18/2023
15.1.0 1,167 12/28/2022
14.5.7 729 12/13/2022
14.5.5 827 12/6/2022
14.5.1 679 11/23/2022
14.5.0 635 11/18/2022
14.4.5 742 10/22/2022
14.4.1 775 10/22/2022
14.4.0 683 10/17/2022
14.3.1 1,285 9/12/2022
14.3.0 674 9/10/2022
14.1.3 917 8/7/2022
14.1.2 691 8/7/2022
14.1.1 663 8/7/2022
14.0.14 712 7/26/2022
14.0.12 692 7/24/2022
14.0.11 683 7/23/2022
14.0.10 666 7/23/2022
14.0.9 689 7/23/2022
14.0.8 741 7/17/2022
14.0.5 826 7/11/2022
14.0.4 775 7/6/2022
14.0.3 725 7/2/2022
14.0.2 685 7/2/2022
14.0.0 888 6/25/2022
13.4.0 2,080 5/31/2022
13.3.4 1,470 5/9/2022
13.3.0 993 5/1/2022
13.2.0 1,186 4/21/2022
13.1.0 1,026 4/7/2022
13.0.0 746 4/5/2022
11.0.5 1,423 3/2/2022
11.0.4 803 2/22/2022
11.0.3 773 2/9/2022
11.0.2 813 2/6/2022
11.0.1 811 2/5/2022
10.0.21 793 1/28/2022
10.0.20 796 1/27/2022
10.0.19 775 1/23/2022
10.0.18 744 1/17/2022
10.0.15 953 12/31/2021
10.0.14 586 12/28/2021
10.0.7 1,486 12/22/2021
10.0.5 763 12/18/2021
9.9.9 1,684 11/29/2021
9.9.3 947 11/9/2021
9.9.2 675 11/4/2021
9.9.0 765 10/30/2021
9.8.9 719 10/29/2021
9.8.7 680 10/27/2021
9.8.6 653 10/27/2021
9.8.5 733 10/26/2021
9.8.0 1,371 10/20/2021
9.7.9 656 10/19/2021
9.7.5 1,521 10/14/2021
9.7.0 884 10/9/2021
9.6.6 1,221 8/14/2021
9.2.0 6,274 5/26/2021
9.1.4 1,285 4/21/2021
9.1.0 1,068 4/14/2021
9.0.0 881 4/5/2021
8.9.9 1,015 3/30/2021
8.9.3 1,567 3/19/2021