Package Exports
- random-global
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (random-global) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
random-global
Expose a variable onto the window under a randomized alias.
Installation
$ npm install random-globalUsage
var globalize = require('random-global');
var msg = 'yes';
var doesThisWork = globalize(msg);
window[doesThisWork]; // 'yes'License
MIT