Humanize a URL: http://sindresorhus.com → sindresorhus.com
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig init Jan 11, 2015
.gitattributes init Jan 11, 2015
.gitignore init Jan 11, 2015
.jshintrc init Jan 11, 2015
.travis.yml Update .travis.yml Feb 8, 2015
index.js strip basic auth from the url Jan 14, 2015
license init Jan 11, 2015
package.json update tests for latest AVA version Jan 1, 2016
readme.md tweaks Oct 5, 2015
test.js update tests for latest AVA version Jan 1, 2016

readme.md

humanize-url Build Status

Humanize a URL: http://sindresorhus.comsindresorhus.com

Install

$ npm install --save humanize-url

Usage

const humanizeUrl = require('humanize-url');

humanizeUrl('http://www.sindresorhus.com/');
//=> 'sindresorhus.com'

License

MIT © Sindre Sorhus