Awesome
humanize-url
Humanize a URL:
https://sindresorhus.com
→sindresorhus.com
Install
$ npm install humanize-url
Usage
import humanizeUrl from 'humanize-url';
humanizeUrl('https://www.sindresorhus.com/');
//=> 'sindresorhus.com'
Humanize a URL:
https://sindresorhus.com
→sindresorhus.com
$ npm install humanize-url
import humanizeUrl from 'humanize-url';
humanizeUrl('https://www.sindresorhus.com/');
//=> 'sindresorhus.com'