Orange presents Oauth 2 Token Manager for Node.js. This project aims to show how to manage Oauth 2 token lifecycle. You could freely reuse the token and retry module in your project. It uses Got library to handle HTTP requests process.
Go to oauth2-token-manager-for-nodeJS on GitHub for more information and access the code published under MIT license.