'use strict';

module.exports = {
	'bitproxies': require('./bitproxies'),
	'blackhatworld': require('./blackhatworld'),
	'coolproxy': require('./coolproxy'),
	'freeproxylist': require('./freeproxylist'),
	'freeproxylists': require('./freeproxylists'),
	'gatherproxy': require('./gatherproxy'),
	'incloak': require('./incloak'),
	'kingproxies': require('./kingproxies'),
	'proxies24': require('./proxies24'),
	'proxydb': require('./proxydb'),
	'proxylisten': require('./proxylisten'),
	'sockslist': require('./sockslist'),
	'premproxy': require('./premproxy')
};

'use strict';

var _ = require('underscore');
var fs = require('fs');
var path = require('path');

var excludedFiles = [
	'index.js',
];

var files = _.filter(fs.readdirSync(__dirname), function(file) {
	return !_.contains(excludedFiles, file);
});

_.each(files, function(file) {
	var name = file.split('.')[0];
	var filePath = path.join(__dirname, file);
	module.exports[name] = require(filePath);
});

Load all sources, instead of specifying each by name
Load all sources, instead of specifying each by name
