Text fetching middleware for the kwest module.
$ npm install --save kwest-text
var kwestText = require('kwest-text'),
kwest = require('kwest-base'),
request = kwest.wrap(kwestText());
// requests text
request('http://www.example.com/some-encoded-text')
.then(function (res) {
// detects encoding and converts to utf-8
console.log(res.body);
})