Call by Contract (CbC) JavaScript library NuGet Package

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.




Got any Call by Contract (CbC) JavaScript library Question?





Info

Version: 1.2.4664.39309
Author(s): Knut Kristian Johansen
Last Update: Monday, October 8, 2012
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/knutkj/cbc/wiki
NuGet Url: https://www.nuget.org/packages/cbc


Install
Install-Package cbc
dotnet add package cbc
paket add cbc
cbc Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

1

days-since-last-release

4427