{"size": 236, "ext": "js", "max_stars_repo_path": "addon/helpers/chance-word.js", "max_stars_repo_name": "rajasegar/ember-chance", "max_stars_repo_stars_event_min_datetime": "2020-05-11T03:40:08.000Z", "max_stars_repo_stars_event_max_datetime": "2020-05-11T03:40:08.000Z", "max_issues_repo_path": "addon/helpers/chance-word.js", "max_issues_repo_name": "rajasegar/ember-chance", "max_issues_repo_issues_event_min_datetime": "2020-05-02T14:23:13.000Z", "max_issues_repo_issues_event_max_datetime": "2020-05-14T05:27:32.000Z", "max_forks_repo_path": "addon/helpers/chance-word.js", "max_forks_repo_name": "rajasegar/ember-chance", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 4, "max_forks_count": null, "avg_line_length": 29.5, "max_line_length": 75, "alphanum_fraction": 0.7076271186}
import { helper } from '@ember/component/helper';
import Chance from 'chance';

export default helper(function chanceWord(params, { syllables, length } ) {
  const chance = new Chance();
  return chance.word({ syllables, length });
});
