REST API wrapper for Node.js