process information for node.js and browsers