(source, searchString, opts)
| 602 | * console.log(results); |
| 603 | */ |
| 604 | export const searchWithFusejs = function (source, searchString, opts) { |
| 605 | const fuse = new Fuse(source, opts) |
| 606 | |
| 607 | return fuse.search(searchString) |
| 608 | } |
| 609 | |
| 610 | export const humanizeString = function (string) { |
| 611 | // split strings by words, then make them all lowercase |
no outgoing calls
no test coverage detected