# currentURL

Use
import { currentURL } from 'util-snippets';

/**
 * Example:currentURL(); // 'https://medium.com/@fatosmorina'
 */

currentURL();
Code
const currentURL = (): string => window.location.href;