kkk-agent
v1.2.2
Published
kkk super agent
Downloads
4
Readme
kkk-agent
based on superagent, load balance and log format.
Features
- log
- get
- post
- load balance
Example
const Agent = require('./index');
(async () => {
let resp = await (
Agent
.get({}, 'https://www.baidu.com/')
.set('user-agent', 'Chrome')
);
console.log(resp.text);
})();