code: function _requireModule(rootPath, name) {
    let modulePath = _normalizeRequire(rootPath, name),
      moduleRes;
    try {
      moduleRes = require(modulePath);
    } catch (e) {
      if (e.code === 'MODULE_NOT_FOUND' && e.message.indexOf(name) !== -1) {
        try {
          moduleRes = require(name);
        } catch (e) {
          if (e.code === 'MODULE_NOT_FOUND' && e.message.indexOf(name) !== -1) {
            throw "NOT_FOUND";
          }
          throw e;
        }
      } else {
        throw e;
      }
    }
    return moduleRes;
  }
docs: /*
  Tries to require a thorin module, from the root node_modules, or the simple require(one)