Popularity
3.9
Stable
Activity
0.0
Stable
88
4
8

Programming language: Go
License: MIT License
Latest version: v0.2.0

go-slugify alternatives and similar packages

Based on the "blackfriday" category.
Alternatively, view go-slugify alternatives based on common mentions on social networks and blogs.

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
}