https://github.com/ml-archive/slugify
Convenience for sluggifying your strings.
https://github.com/ml-archive/slugify
joci server-side-swift slug slugify swift vapor vapor-2
Last synced: about 1 month ago
JSON representation
Convenience for sluggifying your strings.
- Host: GitHub
- URL: https://github.com/ml-archive/slugify
- Owner: ml-archive
- License: mit
- Archived: true
- Created: 2016-12-22T19:22:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-12-09T08:32:25.000Z (about 6 years ago)
- Last Synced: 2025-09-15T20:45:29.741Z (4 months ago)
- Topics: joci, server-side-swift, slug, slugify, swift, vapor, vapor-2
- Language: Swift
- Homepage:
- Size: 40 KB
- Stars: 17
- Watchers: 10
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slugify π€
[](http://swift.org)
[](http://swift.org)
[](http://vapor.codes)
[](https://circleci.com/gh/nodes-vapor/slugify)
[](https://codebeat.co/projects/github-com-nodes-vapor-slugify-master)
[](https://codecov.io/gh/nodes-vapor/slugify)
[](http://clayallsopp.github.io/readme-score?url=https://github.com/nodes-vapor/slugify)
[](https://raw.githubusercontent.com/nodes-vapor/slugify/master/LICENSE)
## π¦ Installation
This package is independent of Vapor and can be used for all Swift projects up til version 4.2
Update your `Package.swift` file.
```swift
.package(url: "https://github.com/nodes-vapor/slugify", from: "2.0.0")
```
## Getting started π
```swift
import Slugify
```
```swift
print("My test URL æøΓ₯".slugify())
```
The above code will print: `my-test-url-aeoa`
## π Credits
This package is developed and maintained by the Vapor team at [Nodes](https://www.nodes.dk).
The package owner for this project is [John](https://github.com/Mircea-Ciuchea).
## π License
This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)