This package is independent of Vapor and can be used for all Swift projects up til version 4.2
Update your Package.swift
file.
.package(url: "https://github.com/nodes-vapor/slugify", from: "2.0.0")
import Slugify
print("My test URL æøΓ₯".slugify())
The above code will print: my-test-url-aeoa
This package is developed and maintained by the Vapor team at Nodes. The package owner for this project is John.
This package is open-sourced software licensed under the MIT license