UNPKG

silkroad-js

Version:

Silkroad SDK compatible with browser and nodejs

17 lines (13 loc) 338 B
'use strict'; (function() { // Node if (typeof module !== 'undefined' && module.exports) { var modules = require('./modules/modules.js'); module.exports = modules; } // Browser if (typeof window !== 'undefined') { //export variable to window object window.silkroad = {}; } }());