Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slug: URL-safe slug generator #19012

Merged
merged 5 commits into from
Jul 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
34 changes: 34 additions & 0 deletions packages/slug/slug.1.0.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
opam-version: "2.0"
authors: "Khoa Nguyen"
homepage: "https://github.com/thangngoc89/ocaml-slug"
maintainer: "hi@khoanguyen.me"
dev-repo: "git+ssh://git@github.com:thangngoc89/ocaml-slug.git"
bug-reports: "https://github.com/thangngoc89/ocaml-slug/issues"
license: "MIT"
build: [
mseri marked this conversation as resolved.
Show resolved Hide resolved
[ "dune" "subst" ] {dev}
[ "dune" "build" "-p" name "-j" jobs ]
]
depends: [
mseri marked this conversation as resolved.
Show resolved Hide resolved
"ocaml" {>= "4.05"}
"dune" {>= "2.0"}
"opam-lock" {dev}
"yojson" {dev}
"alcotest" {with-test}

"uunf" {>= "1.0.0"}
"uuseg"
"uutf"
"re" {>= "1.7.2"}
]
synopsis: "Url safe slug generator"
description: """
A URL slug is the part of a URL or link that comes after the domain extension.

In websites the keyword used for your URL slug can be used to SEO optimize the URL by showing Google the structure of your site and the contents of the page in question.
"""

url {
src: "https://github.com/thangngoc89/ocaml-slug/archive/1.0.0.tar.gz"
checksum: "md5=85a2ca8ddd75b97de98f103b5b250feb"
}