Skip to content

jnbdz/urlFriendly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

urlFriendly

Clean a string to make it friendly for the URL.

How to use

var string = urlFriendly("Hello World!");

string.escape(); // Hello%20World%21

OR

string.humanReadable(); // hello-world

About

Clean a string to make it friendly for the URL.

Resources

Stars

Watchers

Forks

Packages

No packages published