diff --git a/README.md b/README.md index 7754789..76ad2a4 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,18 @@ Update your `Package.swift` file. .Package(url: "https://github.com/nodes-vapor/slugify", majorVersion: 0) ``` +``` +import Slugiy +``` + +``` +print("My test URL æøå".slugify()) + +prints: my-test-url-aeoa +``` + ## 🏆 Credits This package is developed and maintained by the Vapor team at [Nodes](https://www.nodes.dk). ## 📄 License -This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT) \ No newline at end of file +This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)