some node.js compat