mavend/octoboard

View on GitHub
src/utils/strings.js

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
import removeAccents from "remove-accents";

export function stripPhrase(phrase) {
  return removeAccents(phrase).toLowerCase().replace(/\W/g, "");
}