#url #humanize #human-friendly #displaying #human-readable

humanize-url

A library for displaying URLs in a human-friendly way

2 unstable releases

0.1.0 Mar 17, 2021
0.0.0 Mar 7, 2021

#11 in #humanize

Apache-2.0 OR MIT

16KB
191 lines

humanize-url

A library for creating human-readable URLs.

Example

use humanize_url::humanize_url;

let url = humanize_url("https://github.com/SirWindfield").unwrap();
assert_eq!("github.com/SirWindfield", url);

Use-case

I use the library often when working with links inside of terminals. Together with terminal-link it can be used to print prettier links to the terminal.

Dependencies

~1.7–2.5MB
~78K SLoC