Port over the fetch methods to nodejs.