Url package provides functionality to generate a fake url value.
$ npm install --save @fakerjs/url
import url from '@fakerjs/url';
url();
//=> http://rad.com
url({protocol: 'https'});
//=> https://rad.com
url({protocol: 'https', tld: 'rad.com'});
//=> https://totally.rad.com
Run tests
npm run test
The MIT License (MIT) Copyright (c) Sergey Romanenko