summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/npm-registry-client/lib/bugs.js
blob: fd0365eed6020cb01da2225be49a936378961c8d (plain)
1
2
3
4
5
6
7
8
9

module.exports = bugs

function bugs (uri, cb) {
  this.get(uri + "/latest", 3600, function (er, d) {
    if (er) return cb(er)
    cb(null, d.bugs)
  })
}