Robhan.CdkLib.Utils 0.0.345

There is a newer version of this package available.
See the version list below for details.
dotnet add package Robhan.CdkLib.Utils --version 0.0.345
                    
NuGet\Install-Package Robhan.CdkLib.Utils -Version 0.0.345
                    
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="Robhan.CdkLib.Utils" Version="0.0.345" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Robhan.CdkLib.Utils" Version="0.0.345" />
                    
Directory.Packages.props
<PackageReference Include="Robhan.CdkLib.Utils" />
                    
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 Robhan.CdkLib.Utils --version 0.0.345
                    
#r "nuget: Robhan.CdkLib.Utils, 0.0.345"
                    
#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 Robhan.CdkLib.Utils@0.0.345
                    
#: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=Robhan.CdkLib.Utils&version=0.0.345
                    
Install as a Cake Addin
#tool nuget:?package=Robhan.CdkLib.Utils&version=0.0.345
                    
Install as a Cake Tool

@robhan-cdk-lib/utils

Utility functions for robhan-cdk-lib projects.

Functionalities

Validation

Defines commonly used functions for validating user provided attribute values.

Example:

import { validateArrayLength } from '@robhan-cdk-lib/utils';

const tags = ['typescript', 'validation'];

const errors = validateArrayLength({
  value: tags,
  min: 3,
  max: 5,
  messagePrefix: 'Tags: ',
});

if (errors.length > 0) {
  console.error('Validation failed:', errors);
} else {
  console.log('Array length is valid.');
}

Expected output:

Validation failed: [ 'Tags: must have at least 3 elements' ]

License

MIT

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.  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.  net10.0 was computed.  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 Robhan.CdkLib.Utils:

Package Downloads
Robhan.CdkLib.AwsMwaa

AWS CDK Construct Library for Amazon Managed Workflows for Apache Airflow (Stability: Stable)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.355 76 10/30/2026
0.0.354 134 10/24/2026
0.0.353 114 10/23/2026
0.0.352 97 10/20/2026
0.0.351 136 10/18/2026
0.0.350 121 10/16/2026
0.0.349 123 10/15/2026
0.0.348 95 10/14/2026
0.0.347 124 10/12/2026
0.0.346 135 10/11/2026
0.0.345 143 10/7/2026
0.0.344 144 10/6/2026
0.0.343 199 10/3/2026
0.0.342 150 9/30/2026
0.0.341 171 9/21/2026
0.0.340 150 9/18/2026
0.0.339 210 9/13/2026
0.0.338 158 9/12/2026
0.0.337 165 9/11/2026
0.0.336 156 9/10/2026
Loading failed