JSPM

ensure-it

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q37076F
  • License MIT

Ensure ======

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 insurance.

$ bower install ensure

Example of use:

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

Files are:

  • ensure.js: Browserify 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