var Xray = require('x-ray')
var x = Xray()
x('http://google.com', 'title')
.then(function (res) {
console.log(res)
})
.catch(function (err) {
console.log(err) // handle error in promise
})
output is
(node:9660) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
Google
Hi, I got this message when trying to use it ex :
output is
Any tips how to fix it ?
Thanks