 cache =
   debug: false
   dependencies: {}
+  extensions: {}
   folders: {}
   ranges: {}
   registered: false

  return

if cache.debug
  cache.loadCount = 0
  cache.requireTime = 0
  global.moduleCache = cache

    exports = originalRequire.apply(this, arguments)
    cache.requireTime += Date.now() - startTime
    exports

  originalFindPath = Module._findPath
  Module._findPath = (request, paths) ->
    cacheKey = JSON.stringify({request, paths});
    cache.findPathCount++ unless Module._pathCache[cacheKey]
    startTime = Date.now()
    foundPath = originalFindPath.apply(global, arguments)
    cache.findPathTime += Date.now() - startTime
    foundPath

exports.create = (modulePath) ->
  modulePath = fs.realpathSync(modulePath)
