lib/index.js
function checkRateLimitRemaining(res) {
  var remaining = parseInt(res.headers['x-ratelimit-remaining'], 10);
  if (remaining <= 50) {
    console.warn('github-content-api remote: only %d requests remaining.', remaining);
  }
}
function checkRateLimitRemaining(res) {
  var remaining = parseInt(res.headers['x-ratelimit-remaining'], 10);
  if (remaining <= 50) {
    console.warn('github-content-api remote: only %d requests remaining.', remaining);
  }
}
function checkRateLimitRemaining ( res ) { var remaining = parseInt ( res . headers [ 'x-ratelimit-remaining' ] , 10 ) ; if ( remaining <= 50 ) { console . warn ( 'github-content-api remote: only %d requests remaining.' , remaining ) ; } }
Warn when rate limit is low.

@param {Object} response
@api private
Warn when rate limit is low .