Skip to content

Commit

Permalink
Slug: URL-safe slug generator (#19012)
Browse files Browse the repository at this point in the history
* Slug: URL-safe slug generator

* Apply suggestions from code review

* Base description on the README

Co-authored-by: Anil Madhavapeddy <anil@recoil.org>

* Apply suggestions from code review

* Update packages/slug/slug.1.0.0/opam

Co-authored-by: Khoa Nguyen <hi@khoanguyen.me>
Co-authored-by: Marcello Seri <mseri@users.noreply.github.com>
Co-authored-by: Anil Madhavapeddy <anil@recoil.org>
  • Loading branch information
4 people authored Jul 7, 2021
1 parent 7dc71d6 commit ab168cb
Showing 1 changed file with 34 additions and 0 deletions.
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: [
[ "dune" "subst" ] {dev}
[ "dune" "build" "-p" name "-j" jobs ]
]
depends: [
"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"
}

0 comments on commit ab168cb

Please sign in to comment.