# g

> Globalize module functions

Latest version **2.0.1** (published 2016-05-14) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2.0.1 |
| Published | 2016-05-14 |
| First published | 2011-09-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Joe Hitchens |
| Maintainers | sleeplessinc |

## Links

- npm: https://www.npmjs.com/package/g
- Repository: https://github.com/sleeplessinc/g
- Issues: https://github.com/sleeplessinc/g/issues
- npm.io page: https://npm.io/package/g

## Recent versions

- 2.0.1 (latest) — 2016-05-14
- 2.0.0 — 2015-03-06
- 1.0.5 — 2015-02-19
- 1.0.4 — 2015-02-19
- 1.0.3 — 2015-02-19
- 1.0.2 — 2014-01-19
- 1.0.1 — 2013-10-17
- 1.0.0 — 2011-09-17

## README

# g

Let's you easily get some module functions made into globals:

    require("g")("util");
	inspect(["foo"]);

or

    require("g")("log5");
	I("Hi mom");


## Yes, I know ...

Yes, I know.
It rubs you the wrong way. 
It goes against everything you've been taught.
It's sick and wrong. 
It's dangerous and irresponsible.
It's immoral and a crime against humanity.

So ...

THIS IS NOT FOR PRODUCTION SOFTWARE.
ONLY USE IT FOR PROTOTYPING AND PROOF-OF-CONCEPT WORK.
DO NOT USE THIS FOR ANYTHING TRULY IMPORTANT.

Okay?  We good?  Alright then.

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