Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sindresorhus/humanize-url
Humanize a URL: https://sindresorhus.com → sindresorhus.com
https://github.com/sindresorhus/humanize-url
Last synced: 28 days ago
JSON representation
Humanize a URL: https://sindresorhus.com → sindresorhus.com
- Host: GitHub
- URL: https://github.com/sindresorhus/humanize-url
- Owner: sindresorhus
- License: mit
- Created: 2015-01-11T14:32:00.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2022-07-09T03:59:43.000Z (over 2 years ago)
- Last Synced: 2024-04-14T09:53:11.134Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 246
- Watchers: 10
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Funding: .github/funding.yml
- License: license
- Security: .github/security.md
Awesome Lists containing this project
- awesome-development - humanize-url - Humanize a URL: http://sindresorhus.com → sindresorhus.com. (Packages / Text)
- awesome-nodejs-cn - humanize-url - 可读化 URL: ```http://sindresorhus.com``` → ```sindresorhus.com``` (包 / URL)
- awesome-nodejs - humanize-url - Humanize a URL: https://sindresorhus.com → sindresorhus.com. ![](https://img.shields.io/github/stars/sindresorhus/humanize-url.svg?style=social&label=Star) (Repository / URL)
- awesome-nodejs-cn - humanize-url - **star:248** 人性化URL: https://sindresorhus.com→sindresorhus.com。 (包 / URL)
- stars - sindresorhus/humanize-url - Humanize a URL: https://sindresorhus.com → sindresorhus.com (JavaScript)
- awesome-nodejs - humanize-url - Humanize a URL: https://sindresorhus.com → sindresorhus.com. (Packages / URL)
- awesome-nodejs - humanize-url - Humanize a URL: → sindresorhus.com - ★ 171 (URL)
- awesome-node - humanize-url - Humanize a URL: http://sindresorhus.com → sindresorhus.com. (Packages / URL)
- awesome-nodejs-cn - humanize-url - 可读化 URL: http://sindresorhus.com → sindresorhus.com. (目录 / URL)
README
# humanize-url
> Humanize a URL: `https://sindresorhus.com` → `sindresorhus.com`
## Install
```
$ npm install humanize-url
```## Usage
```js
import humanizeUrl from 'humanize-url';humanizeUrl('https://www.sindresorhus.com/');
//=> 'sindresorhus.com'
```