UNPKG

icjs-accounts

Version:

A simple module for creating and managing irchain accounts in browser.

10 lines (8 loc) 324 B
// Browser environment if(typeof window !== 'undefined') { Accounts = (typeof window.Accounts !== 'undefined') ? window.Accounts : require('icjs-accounts'); } // Node environment if(typeof global !== 'undefined') { Accounts = (typeof global.Accounts !== 'undefined') ? global.Accounts : require('icjs-accounts'); }