npm.io
1.1.6 • Published 5 years ago

can-type

Licence
MIT
Version
1.1.6
Deps
4
Size
54 kB
Vulns
0
Weekly
0
Stars
4

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>

Keywords