 ###
 
 
-child_process = require "child_process"
-path = require 'path'
-fs = require 'fs'
+ChildProcess = require "child_process"
+Path = require 'path'
+Fs = require 'fs'
 _ = require 'underscore'
-moment = require 'moment'
+Moment = require 'moment'
 
 BStr = require 'bumble-strings'
 

  cmd += packageName

  packageExists = ( 
    fs.existsSync("/usr/local/lib/node_modules/#{packageName}") ||
    fs.existsSync("/opt/nodejs/current/lib/node_modules/#{packageName}") ||
    fs.existsSync("./node_modules/#{packageName}")
  )
  unless packageExists
    if options.global

  Open a terminal tab (ONLY WORKS ON iterm2 or terminal apps on OSX) 
###
openTerminalTab = (cdPath = './', cmd='')->
  cdPath = Path.resolve(cdPath)
  console.log "opening terminal tab. maybe. to #{cdPath}. TERM_PROGRAM='#{process.env.TERM_PROGRAM}'"
  switch process.env.TERM_PROGRAM
    when 'iTerm.app'
