Detalhes do pacote

globo

bendrucker92.7kMIT1.1.0

Turn identifiers into global lookups that work in Node and the browser

global, id, module, browser

readme (leia-me)

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