1.0.8 • Published 4 years ago
react-humanize-url v1.0.8
React Humanize URL
Humanize a URL in React and React Native
https://yoginth.com
→yoginth.com
Demo in Glitch
Install
$ npm install react-humanize-url
Usage
import React from 'react';
import HumanizeURL from 'react-humanize-url';
const App = () => (
<div>
<HumanizeURL url={'https://yoginth.com'} />
</div>
);
API
url={input}
Type: string
<HumanizeURL url={'https://yoginth.com'} />
// => 'yoginth.com'
License
MIT © Yoginth