Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.18 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.18 KB

Url

Url package provides functionality to generate a fake url value.

Version node-current License

Install

$ npm install --save @fakerjs/url

Usage

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

Tests

Run tests

npm run test

License

The MIT License (MIT) Copyright (c) Sergey Romanenko