fetch-dht/lib/peerListFormatters/json.js
2020-04-12 16:33:32 -05:00

4 lines
74 B
JavaScript

module.exports = (peers, res) => {
const response = res.json(peers);
};