UNPKG

safenet

Version:

Low-level javascript API wrapper for communicating with the SAFE Network launcher

11 lines (8 loc) 256 B
require('./init.js'); var Safe = require('./safe.js'); // If Node environment, export Safe. Otherwise, attach to window. if (typeof process === 'object' && process+'' === '[object process]') { module.exports = Safe; } else { window.SafeApp = Safe; }