More advanced features.

* fetch data from main registry if cache look up is failed
* save fetched data to npm's cache, in same was as npm does the job
This commit is contained in:
2016-03-19 19:43:58 +05:30
parent 339f5ab3d0
commit 16aece8d5f
5 changed files with 97 additions and 15 deletions
+1 -2
View File
@@ -5,7 +5,6 @@
*/
var app = require('../app');
var debug = require('debug')('npm-proxy:server');
var http = require('http');
/**
@@ -86,5 +85,5 @@ function onListening() {
var bind = typeof addr === 'string'
? 'pipe ' + addr
: 'port ' + addr.port;
debug('Listening on ' + bind);
console.log('Listening on ' + bind);
}