JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 36888
  • Score
    100M100P100Q140374F
  • License MIT

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

Package Exports

  • globo

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (globo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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