TLio.Functions 0.1.0-preview.21

This is a prerelease version of TLio.Functions.
There is a newer version of this package available.
See the version list below for details.
dotnet add package TLio.Functions --version 0.1.0-preview.21
                    
NuGet\Install-Package TLio.Functions -Version 0.1.0-preview.21
                    
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="TLio.Functions" Version="0.1.0-preview.21" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TLio.Functions" Version="0.1.0-preview.21" />
                    
Directory.Packages.props
<PackageReference Include="TLio.Functions" />
                    
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 TLio.Functions --version 0.1.0-preview.21
                    
#r "nuget: TLio.Functions, 0.1.0-preview.21"
                    
#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.
#:package TLio.Functions@0.1.0-preview.21
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TLio.Functions&version=0.1.0-preview.21&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TLio.Functions&version=0.1.0-preview.21&prerelease
                    
Install as a Cake Tool

TLio.Functions

The built-in, value-producing functions for TLio. Format-agnostic — all format-specific work is delegated through IExecutionContext<TNode>.

dotnet add package TLio.Functions

Using functions

Any command value that starts with = is evaluated as a function expression:

[
  { "command": "add", "path": "$.id",      "value": "=newGuid()" },
  { "command": "add", "path": "$.copyOf",  "value": "=fetch($.source.name)" },
  { "command": "add", "path": "$.itsPath", "value": "=path($.source)" }
]

Built-in functions

Valuesfetch · path / scriptpath · indirect · newGuid · datetime · partial · promote

Predicatesequals · notEquals · greaterThan · greaterOrEqual · lessThan · lessOrEqual · and · or · not

Plus the argument-passing and nesting rules described in the notation reference.

More functions

Pack Package
Text / string TLio.Extensions.Text
Math and aggregation TLio.Extensions.Math
Date and time TLio.Extensions.TimeDate

They register into the same provider:

options.FunctionsProvider.RegisterText<JToken>();

License

MIT — see the repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows 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 TLio.Functions:

Package Downloads
TLio.Client

TLio Client: the scripting engine that parses and executes TLio scripts. Format-neutral — format support is registered through the provider pattern.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.10.0-preview.1 87 8/24/2026
0.9.0 142 8/23/2026
0.9.0-preview.14 97 8/22/2026
0.9.0-preview.13 86 8/22/2026
0.9.0-preview.12 76 8/22/2026
0.9.0-preview.11 80 8/22/2026
0.9.0-preview.10 82 8/22/2026
0.9.0-preview.9 72 8/21/2026
0.9.0-preview.8 76 8/21/2026
0.9.0-preview.7 82 8/21/2026
0.9.0-preview.6 58 8/21/2026
0.9.0-preview.5 79 8/21/2026
0.9.0-preview.4 80 8/21/2026
0.8.0 144 8/20/2026
0.1.0-preview.22 89 8/20/2026
0.1.0-preview.21 79 8/20/2026
0.1.0-preview.19 72 8/20/2026
0.1.0-preview.18 84 8/20/2026
0.1.0-preview.17 82 8/20/2026
0.1.0-preview.16 76 8/19/2026
Loading failed