   registered: false
   resourcePath: null
 
+requireDependencies = ->
+  fs ?= require 'fs-plus'
+  semver ?= require 'semver'
+
 loadDependencies = (modulePath, rootPath, rootMetadata, moduleCache) ->
   for childPath in fs.listSync(path.join(modulePath, 'node_modules'))
     continue if path.basename(childPath) is '.bin'

Module = require 'module'
path = require 'path'
fs = require 'fs-plus'
semver = require 'semver'

nativeModules = process.binding('natives')


    foundPath

exports.create = (modulePath) ->
  requireDependencies()

  modulePath = fs.realpathSync(modulePath)
  metadataPath = path.join(modulePath, 'package.json')
  metadata = JSON.parse(fs.readFileSync(metadataPath))
