Info
Version: | 1.0.0 |
Author(s): | Rami Assi |
Last Update: | Thursday, July 20, 2017 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/ramiassi/Assi.SlugifyExtension.Core |
NuGet Url: | https://www.nuget.org/packages/Assi.SlugifyExtension.Core |
Install
Install-Package Assi.SlugifyExtension.Core
dotnet add package Assi.SlugifyExtension.Core
paket add Assi.SlugifyExtension.Core
Assi.SlugifyExtension.Core Download (Unzip the "nupkg" after downloading)
Dependencies
- NETStandard.Library(>= 1.6.1)
- System.Globalization.Extensions(>= 4.3.0)
Tags
Slug: is the part of an URL which identifies a page using human-readable keywords.
This extension for string type adds the Slugify method for generating slugs from any language.
This extension method is useful for SEO friendly Urls.
Usage examples:
"Hello World!".Slugify(); // hello-world
"مرحبا بالعالم!".Slugify(); // مرحبا-بالعالم
"Merhaba dünya!".Slugify(); // merhaba-dunya.