MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / searchWithFusejs

Function searchWithFusejs

lib/utils.js:604–608  ·  view source on GitHub ↗
(source, searchString, opts)

Source from the content-addressed store, hash-verified

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

Callers 2

completerFunction · 0.90
emptyRun.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected