![]() |
VOOZH | about |
dotnet add package YAMLicious --version 1.0.0
NuGet\Install-Package YAMLicious -Version 1.0.0
<PackageReference Include="YAMLicious" Version="1.0.0" />
<PackageVersion Include="YAMLicious" Version="1.0.0" />Directory.Packages.props
<PackageReference Include="YAMLicious" />Project file
paket add YAMLicious --version 1.0.0
#r "nuget: YAMLicious, 1.0.0"
#:package YAMLicious@1.0.0
#addin nuget:?package=YAMLicious&version=1.0.0Install as a Cake Addin
#tool nuget:?package=YAMLicious&version=1.0.0Install as a Cake Tool
👁 NuGet Version
👁 NuGet Downloads
YAMLicious is a small YAML reader/writer inspired by Thoth.Json syntax!
If you want to use YAMLicious in Python, please install fable-library via python dependency manager of your choice. YAMLicious depends on fable-library for core functionality.
type Package = {
Name: string
Version: string option
}
type ArcValidation = {
ArcSpecificationVersion: string
Packages: Package list
}
arc_specification: 2.0.0-draft
validation_packages:
- name: package1
version: 1.0.0
- name: package2
version: 2.0.0
- name: package3
// from yaml
let Example1 =
"arc_specification: 2.0.0-draft
validation_packages:
- name: package1
version: 1.0.0
- name: package2
version: 2.0.0
- name: package3"
let packageEncoder : (YAMLicious.YAMLElement -> Package) =
Decode.object (fun get ->
{
Name = get.Required.Field "name" Decode.string
Version = get.Optional.Field "version" Decode.string
}
)
let arcValidationDecoder : (YAMLicious.YAMLElement -> ArcValidation) =
Decode.object (fun get ->
{
ArcSpecificationVersion = get.Required.Field "arc_specification" Decode.string
Packages = get.Required.Field "validation_packages" (Decode.list packageEncoder)
}
)
let actual : ArcValidation = Examples.ValidationPackageTypes.string |> Decode.read |> arcValidationDecoder
// to yaml
let Example2 = {
ArcSpecificationVersion = "2.0.0-draft"
Packages = [
{ Name = "package1"; Version = Some "1.0.0" }
{ Name = "package2"; Version = Some "2.0.0" }
{ Name = "package3"; Version = None }
]
}
let packageEncoder (pack: Package) =
[
"name", Encode.string pack.Name
Encode.tryInclude "version" Encode.string pack.Version
]
|> Encode.choose
|> Encode.object
let arcValidationEncoder (arc: ArcValidation) =
Encode.object [
"arc_specification", Encode.string arc.ArcSpecificationVersion
"validation_packages", Encode.list packageEncoder arc.Packages
]
let actual : string = Encode.write 2 (arcValidationEncoder Example2)
Because this library targets multiple programming languages we need to support all of them:
node --version (Tested with v20.10.0)npm --version (Tested with v9.2.0)dotnet --version (Tested with 10.0.100)uv --version (Tested with 0.9.13)This needs to be done on a fresh download once. Paths for python venv executable might be different depending on the OS.
dotnet tool restore, Restore .NET tools (fable)npm i, install js dependenciesuv python install, install python itself if neededuv pip install, install python dependenciesFirst activate python virtual environment (.\.venv\Scripts\Activate.ps1).
.\build.cmd test
or specify target
.\build.cmd test [f#, c#, js [native], py [native]]
Requires API keys for Nuget and PyPi.
The following command will run all tests, bundle and then start publishing!
.\build.cmd publish pipeline
or only publish specific targets, without test and bundle
.\build.cmd publish [npm, pypi, nuget]
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 3 NuGet packages that depend on YAMLicious:
| Package | Downloads |
|---|---|
|
ARCtrl.CWL
ARC helper functions for Common workflow language. |
|
|
ARCtrl.Yaml
ARC helper functions for Parsing YAML files. |
|
|
ProcessCore
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 135 | 6/3/2026 |
| 1.0.0-alpha.11 | 69 | 5/27/2026 |
| 1.0.0-alpha.10 | 69 | 5/7/2026 |
| 1.0.0-alpha.9 | 95 | 5/6/2026 |
| 1.0.0-alpha.8 | 94 | 3/20/2026 |
| 1.0.0-alpha.7 | 914 | 3/18/2026 |
| 1.0.0-alpha.6 | 88 | 3/13/2026 |
| 1.0.0-alpha.5 | 1,225 | 2/27/2026 |
| 1.0.0-alpha.4 | 344 | 2/24/2026 |
| 1.0.0-alpha.3 | 437 | 1/27/2026 |
| 1.0.0-alpha.2 | 201 | 12/29/2025 |
| 1.0.0-alpha.1 | 2,553 | 12/16/2025 |
| 0.0.4 | 315 | 12/15/2025 |
| 0.0.3 | 11,282 | 10/14/2024 |
| 0.0.2 | 288 | 7/11/2024 |
| 0.0.1 | 1,581 | 7/8/2024 |
| 0.0.1-alpha | 209 | 6/24/2024 |