Dryymoon edited a comment on issue #252:
URL: https://github.com/apache/couchdb-nano/issues/252#issuecomment-781154445
How to add custom agent:
```javascript
const agent = new http.Agent();
agent.toJSON = () => null; // This line help bypass Circular json error
const couchdb = require('nano')({
url: 'http://admin:admin@localhost:5984',
requestDefaults: {
agent
}
});
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]