This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
|
// @flow
|
|
import slug from "slug";
|
|
|
|
slug.defaults.mode = "rfc3986";
|
|
|
|
export default function slugify(text: string): string {
|
|
return slug(text, {
|
|
remove: /[.]/g,
|
|
});
|
|
}
|