{"size": 292, "ext": "js", "max_stars_repo_path": "src/utils/patterns.js", "max_stars_repo_name": "envisioning/tdb-storybook", "max_stars_repo_stars_event_min_datetime": "2016-08-26T00:15:35.000Z", "max_stars_repo_stars_event_max_datetime": "2016-08-26T00:15:35.000Z", "max_issues_repo_path": "src/utils/patterns.js", "max_issues_repo_name": "envisioning/tdb-storybook", "max_issues_repo_issues_event_min_datetime": "2016-08-12T13:42:40.000Z", "max_issues_repo_issues_event_max_datetime": "2016-08-15T23:25:08.000Z", "max_forks_repo_path": "src/utils/patterns.js", "max_forks_repo_name": "envisioning/tdb-storybook", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 48.6666666667, "max_line_length": 85, "alphanum_fraction": 0.7054794521}
import VMasker from 'vanilla-masker';

export const telefone = value => value && VMasker.toPattern(value, '(99) 9999-9999');
export const celular = value => value && VMasker.toPattern(value, '(99) 9999-99999');
export const cpf = value => value && VMasker.toPattern(value, '999.999.999-99');
