a clientside module that enables async requests in the browser; mimics request-promise in usage.
npm install clientside-request

This is a npm nodule for the front end (a cmm module) built to bring the simplicity of request-promise package to the browser.
npm install clientside-request --savejs
require("clientside-request")
.then((request)=>{
return request("http://same_origin/route") // note, request must be same origin as browsers block cross origin requests.
})
.then((response)=>{
/ /
})
`comments
To preserve sessions and handle cookies from server and to server - set {cookies : true}`