       path,
       cacheTarget
     ).promise
+
+  hinoki.isNodejs = fsModule?.statSync? and fsModule?.readdirSync?
 
   # monomorphic
   hinoki.PromiseAndCacheTarget = (promise, cacheTarget) ->

      return source

    if 'string' is typeof arg
      return hinoki.source hinoki.requireSource arg

    if 'object' is typeof arg

          object[key].__file = filepath

      else if stat.isDirectory()
        filenames = fsModule.readdirSync(filepath)
        filenames.forEach (filename) ->
          hinoki.baseRequireSource pathModule.join(filepath, filename), object

