node.js api migration