Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: ea2ec24a8a
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (14 sloc) 0.361 kB

Global -- Implementation of the Global Pattern for Node.js

  • Works
  • Small Footprint (37 bytes)

Using

File1.js:

var globe = require('global');

globe.foo = 'bar';

File2.js:

var globe = require('global');

console.log(globe.foo); // should be 'bar'

Installing

npm install global

Running Tests

vows test/test.js
Jump to Line
Something went wrong with that request. Please try again.