From 1b8663cbaa2f0bfd830bcb52e0a157ba5ea33730 Mon Sep 17 00:00:00 2001 From: Casper Rasmussen Date: Thu, 22 Dec 2016 22:12:42 +0100 Subject: [PATCH] Update README.md --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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)