library isn't compatible with browser, only node.js