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