# globo

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

Latest version **1.1.0** (published 2015-07-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install globo
pnpm add globo
yarn add globo
bun add globo
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2015-07-17 |
| First published | 2015-06-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Ben Drucker |
| Maintainers | bendrucker |
| Keywords | global, id, module, browser, node |

## Links

- npm: https://www.npmjs.com/package/globo
- Repository: https://github.com/bendrucker/globo
- Homepage: https://github.com/bendrucker/globo#readme
- Issues: https://github.com/bendrucker/globo/issues
- npm.io page: https://npm.io/package/globo

## Dependencies (3)

- [ternary](https://npm.io/package/ternary.md) ~1.0.0
- [accessory](https://npm.io/package/accessory.md) ~1.1.0
- [is-defined](https://npm.io/package/is-defined.md) ~1.0.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2015-07-17
- 1.0.2 — 2015-07-13
- 1.0.1 — 2015-07-13
- 1.0.0 — 2015-06-16

## README

# globo [![Build Status](https://travis-ci.org/bendrucker/globo.svg?branch=master)](https://travis-ci.org/bendrucker/globo)

> Turn module ids into global lookups that work in Node and the browser


## Install

```
$ npm install --save globo
```


## Usage

```js
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](globo.jpg)


## License

MIT © [Ben Drucker](http://bendrucker.me)

---
_Source: https://npm.io/package/globo · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
