 				callback null, final_index
 
 	save_index_to_mongo: (index, callback) ->
-		console.log ">> writing to mongo"
 		db.packageIndex.ensureIndex {language: 1, name: 1}, {}, (err, result) ->
 			if err
 				return callback err

					callback null
			)



if require.main == module
	console.log ">> building package index..."
	args = process.argv.slice(2)
	Indexer.build (err, result) ->
		if err

fs = require 'fs'
child_process = require 'child_process'
logger = require 'logger-sharelatex'
request = require 'request'
cheerio = require 'cheerio'
_ = require 'underscore'
