1.0.1 • Published 7 years ago

humanuri v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

humanuri

A more cautious alternative to humanize-url.

Don't confuse with the "humanure" manure composting concept/movement.

Usage

var humanURI = require('humanuri'),
  u = 'https://www.example.net/foo/bar.html',
  h = humanURI(u);
console.log(u);

Output comparison:

inputhumanurihumanize-url
http://www.permies.com/www.permies.compermies.com
https://www.permies.com/www.permies.compermies.com
http://permies.comhttp://permies.com/permies.com
https://permies.comhttps://permies.com/permies.com
http://permies.com/t/http://permies.com/t/permies.com/t
http://www.permies.com/t/www.permies.com/t/permies.com/t
http://permies.com/t/5942/Humanurehttp://permies.com/t/5942/Humanurepermies.com/t/5942/Humanure
http://www.permies.com/t/5942/Humanurewww.permies.com/t/5942/Humanurepermies.com/t/5942/Humanure
ftp://www.debian.orgftp://www.debian.org/ftp://debian.org
ftp://ftp.debian.orgftp://ftp.debian.org/ftp://ftp.debian.org
http://ftp.debian.org/debian/READMEhttp://ftp.debian.org/debian/READMEftp.debian.org/debian/README

 

License

ISC

1.0.1

7 years ago

1.0.0

7 years ago