1.1.0 • Published 9 years ago

globo v1.1.0

Weekly downloads
28,971
License
MIT
Repository
github
Last release
9 years ago

globo Build Status

Turn module ids into global lookups that work in Node and the browser

Install

$ npm install --save globo

Usage

var globalize = require('globo');

globo('_');
//=> (typeof window !== "undefined" ? window._ : typeof global !== "undefined" ? global._ : null)

API

globo(id) -> string

id

Required
Type: string

A module id.

globo

License

MIT © Ben Drucker