$ gnpm install globo
Turn module ids into global lookups that work in Node and the browser
$ npm install --save globo
var globalize = require('globo');
globo('_');
//=> (typeof window !== "undefined" ? window._ : typeof global !== "undefined" ? global._ : null)
globo(id)
-> string
Required
Type: string
A module id.
MIT © Ben Drucker
Copyright 2013 - present © cnpmjs.org | Home |