Skip to content

Releases: pnann/check-preconditions

1.0.0

24 Aug 23:03
Compare
Choose a tag to compare

Bind-less and Better Than Ever!

27 Aug 16:52
Compare
Choose a tag to compare

check-preconditions can now be run in environments where bind does not exist. This change also brings the gzipped file size down to a clean 1001 bytes.

0.2.1 - Bug Fixes

30 May 17:57
Compare
Choose a tag to compare

Updates dependencies (browserify, gulp-tsd, merge2) and fixes issue #1 regarding the exists string being incorrect.

0.2.0 - Object Returning

16 Jan 21:11
Compare
Choose a tag to compare

Checks now return the object passed in, with type information is preserved for TypeScript consumers through the use of generics.

var CheckPreconditions = require("check-preconditions");
var check = CheckPreconditions.of("example");

var input = "exampleString";
var output = check(input).is.a.string();
//input === output

0.1.0

05 Nov 05:53
Compare
Choose a tag to compare

Initial release of check-preconditions.