JSPM

  • Created
  • Published
  • Downloads 688
  • Score
    100M100P100Q97886F
  • License MIT

Type definitions

Package Exports

  • can-type
  • can-type/can-type-test

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 (can-type) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

can-type

Build Status Greenkeeper badge

Type definitions

Usage

ES6 use

With StealJS, you can import this module directly in a template that is autorendered:

import plugin from 'can-type';

CommonJS use

Use require to load can-type and everything else needed to create a template that uses can-type:

var plugin = require("can-type");

Standalone use

Load the global version of the plugin:

<script src='./node_modules/can-type/dist/global/can-type.js'></script>