Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (15 sloc) 0.332 kb
util = require 'util'
mongoose = require 'mongoose'
require('mongoose-types').loadTypes mongoose
require "./#{lib}" for lib in [
module.exports = (url) ->
util.log 'connecting to ' + url.cyan
mongoose.connect url, (err) -> throw Error err if err
Jump to Line
Something went wrong with that request. Please try again.