function getFrameworks(frameworksDirPath = "frameworks", frameworksTypes = ["keyed", "non-keyed"]) {
  const frameworks = frameworksTypes.flatMap((type) =>
    fs.readdirSync(path.join(frameworksDirPath, type)).map((framework) => ({
      name: framework,
      type,
    }))
  );

  return frameworks;
}
Returns an array with arrays of types and names of frameworks
@param {string} frameworksDirPath
@param {Array<string>} frameworksTypes
@returns {Framework[]}