Package Exports
- ensure-it
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ensure-it) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Ensure
Easy JavaScript type assurance.
$ bower install ensure
$ npm install ensure-itExample 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