can-type
v1.1.6
Published
Type definitions
Downloads
2,518
Readme
can-type
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>