Forest Logo
search
package_2

fzy

By @sudoserver819

Roblox

Mirrored

Fzy

Luau implementation of the fzy fuzzy string matching algorithm.

Install

[dependencies]
Fzy = "sudoserver819/fzy@0.1.0"

Usage

local Fzy = require(Packages.Fzy)

local config = Fzy.createConfig()

print(Fzy.hasMatch(config, "adm", "AdminPanel")) -- true
print(Fzy.score(config, "adm", "AdminPanel"))

local results = Fzy.filter(config, "adm", {
	"AdminPanel",
	"ModeratorTools",
	"PlayerList",
})

Credits

Based on Seth Warn's fzy-lua implementation and the original fzy algorithm.

Package Details

Install command (Click to copy)


Version

0.1.0

License

MIT

check_circle

Safe for commercial use

Automated license review — not legal advice.