g
Globalize module functions
Last updated 10 years ago by sleeplessinc .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install g 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 2.0.1                                ...           latest (9 years ago)

8 Versions

  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           10 years ago
  • 1.0.5                                ...           10 years ago
  • 1.0.4                                ...           10 years ago
  • 1.0.3                                ...           10 years ago
  • 1.0.2                                ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE