can-global

1.0.1 • Public • Published

can-global

Build Status

Returns the global that this environment provides.

Usage

ES6 use

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

import plugin from "can-global";

CommonJS use

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

import plugin from "can-global";

Standalone use

Load the global version of the plugin:

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

Readme

Keywords

Package Sidebar

Install

npm i can-global

Homepage

canjs.com/

Weekly Downloads

2,390

Version

1.0.1

License

none

Unpacked Size

14.7 kB

Total Files

15

Last publish

Collaborators

  • blackmarket
  • chasen
  • christopherjbaker