Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Easy JavaScript type assurance.
JavaScript
Branch: master

readme.md

Ensure

Easy JavaScript type assurance.

$ bower install ensure
$ npm install ensure-it

Example of use:

var ensure = require('ensure-it');
var msg = "Hello World!";
ensure(msg).isa('string');

Files are:

  • ensure.js: Browserify/Node module definition.
  • ensure.raw.js: provides a global variable ENSURE.
  • ensure.min.js: minified version of ensure.raw.js

See: Github Page


By Dan Cobb: cobbdb@gmail.com
License: MIT

Something went wrong with that request. Please try again.