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.
-
sh
A shell parser, formatter, and interpreter with bash support; includes shfmt -
go-humanize
Go Humans! (formatters for units to human friendly sizes) -
bluemonday
bluemonday: a fast golang HTML sanitizer (inspired by the OWASP Java HTML Sanitizer) to scrub user generated content of XSS -
mxj
Decode / encode XML to/from map[string]interface{} (or JSON); extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages. -
go-pkg-rss
This package reads RSS and Atom feeds and provides a caching mechanism that adheres to the feed specs. -
github_flavored_markdown
GitHub Flavored Markdown renderer with fenced code block highlighting, clickable header anchor links. -
go-pkg-xmlx
Extension to the standard Go XML package. Maintains a node tree that allows forward/backwards browsing and exposes some simple single/multi-node search functions. -
gonameparts
Takes a full name and splits it into individual name parts
Learn any GitHub repo in 59 seconds
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
Promo
getonboard.dev
Do you think we are missing an alternative of go-slugify or a related project?
README
go-slugify
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
}