globo
v1.1.0
Published
Turn identifiers into global lookups that work in Node and the browser
Downloads
105,186
Maintainers
Readme
globo ![Build Status](https://travis-ci.org/bendrucker/globo.svg?branch=master)
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.
License
MIT © Ben Drucker