Socket
Socket
Sign inDemoInstall

globo

Package Overview
Dependencies
6
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    globo

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


Version published
Weekly downloads
23K
decreased by-12.78%
Maintainers
1
Install size
32.0 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 17 Jul 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc