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