UNPKG

cockatoo.js

Version:

Fuzzy search library based based on Damerau Levenshtein distance algorithm for Node.js

14 lines (13 loc) 393 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Match = /** @class */ (function () { function Match(obj) { this.item = obj.item; this.score = obj.score; this.completeness = obj.completeness; this.tokenScore = obj.tokenScore; this.tokenMatches = obj.tokenMatches; } return Match; }()); exports.Match = Match;