Swift
You can find the Swift wrapper plugin here.
Utilize lefthook in your Swift project using Swift Package Manager:
.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.9.3"),
Or, with mint:
mint run csjones/lefthook-plugin