Smart proxy repository for NPM registry