{"size": 248, "ext": "js", "max_stars_repo_path": "packages/s2s-cli/src/handlers/__tests__/helpers/identifer-reverse-plugin.js", "max_stars_repo_name": "akameco/s2s", "max_stars_repo_stars_event_min_datetime": "2017-07-22T21:56:55.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-11T21:44:46.000Z", "max_issues_repo_path": "packages/s2s-cli/src/handlers/__tests__/helpers/identifer-reverse-plugin.js", "max_issues_repo_name": "akameco/s2s", "max_issues_repo_issues_event_min_datetime": "2017-07-22T17:17:42.000Z", "max_issues_repo_issues_event_max_datetime": "2019-09-30T15:33:55.000Z", "max_forks_repo_path": "packages/s2s-cli/src/handlers/__tests__/helpers/identifer-reverse-plugin.js", "max_forks_repo_name": "akameco/s2s", "max_forks_repo_forks_event_min_datetime": "2017-09-25T02:33:47.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-05T02:35:09.000Z"}
{"max_stars_count": 271, "max_issues_count": 216, "max_forks_count": 25, "avg_line_length": 16.5333333333, "max_line_length": 51, "alphanum_fraction": 0.5040322581}
// @flow weak

export default function identifierReversePlugin() {
  return {
    visitor: {
      Identifier(idPath) {
        idPath.node.name = idPath.node.name
          .split('')
          .reverse()
          .join('')
      },
    },
  }
}
