multiversal-js
Export modules to another universe.
Export (e.g. Browserify)
require( 'multiversal' )( module ).as( MODULENAME );
Import (e.g. Vanilla JS)
var myModule = multiversalRequire( MODULENAME );
Export modules to another universe.
require( 'multiversal' )( module ).as( MODULENAME );
var myModule = multiversalRequire( MODULENAME );