cbc 1.2.0
See the version list below for details.
dotnet add package cbc --version 1.2.0
NuGet\Install-Package cbc -Version 1.2.0
<PackageReference Include="cbc" Version="1.2.0" />
paket add cbc --version 1.2.0
#r "nuget: cbc, 1.2.0"
// Install cbc as a Cake Addin #addin nuget:?package=cbc&version=1.2.0 // Install cbc as a Cake Tool #tool nuget:?package=cbc&version=1.2.0
A JavaScript library with function argument assertions,
a function parser and assertion wrapper functionality.
By wrapping your functions you get defined, notNull, bool,
func, number, object, string and notEmpty assertions for
free. The interface is specially optimised for the Visual
Studio JavaScript IntelliSense.
Note that the assertions are not for unit testing,
but for function arguments.
This is a JavaScript design by contract (DbC) implementation.
For more information about DcB visit:
http://en.wikipedia.org/wiki/Design_by_contract.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1.2.0: Breaking change in FuncInfo/ParamInfo getters. Changed from getPropertyName into get_propertyName.
1.2.0: New wrap function (cbc.contract.wrap).
1.2.0: New getDoc function (cbc.parse.getDoc).
1.1.0: New function parser (cbc.parse.func).