random-global
v1.0.1
Published
globalize variables under a random alias
Downloads
34
Readme
random-global
Expose a variable onto the window
under a randomized alias.
Installation
$ npm install random-global
Usage
var globalize = require('random-global');
var msg = 'yes';
var doesThisWork = globalize(msg);
window[doesThisWork]; // 'yes'
License
MIT