Popularity
3.5
Growing
Activity
0.0
Stable
60
2
5

Programming language: Go
Latest version: v0.2.0

go-slugify alternatives and similar packages

Based on the "blackfriday" category

Do you think we are missing an alternative of go-slugify or a related project?

Add another 'blackfriday' Package

README

go-slugify

Build Status Coverage Status Go Report Card GoDoc

Make Pretty Slug.

Installation

go get -u github.com/mozillazg/go-slugify

Install CLI tool:

go get -u github.com/mozillazg/go-slugify/slugify
$ slugify "北京kožušček,abc"
bei-jing-kozuscek-abc

Documentation

API documentation can be found here: https://godoc.org/github.com/mozillazg/go-slugify

Usage

package main

import (
    "fmt"
    "github.com/mozillazg/go-slugify"
)

func main() {
    s := "北京kožušček,abc"
    fmt.Println(slugify.Slugify(s))
    // Output: bei-jing-kozuscek-abc
}