globo
Turn identifiers into global lookups that work in Node and the browser
Last updated 9 years ago by bendrucker .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install globo 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.0                                ...           latest (9 years ago)

4 Versions

  • 1.1.0                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |