An open API service indexing awesome lists of open source software.

https://github.com/faker-javascript/url

Url package provides functionality to generate a fake url value.
https://github.com/faker-javascript/url

Last synced: 2 months ago
JSON representation

Url package provides functionality to generate a fake url value.

Awesome Lists containing this project

README

        

Url


Url package provides functionality to generate a fake url value.


Version node-current License

## Install

```
$ npm install --save @fakerjs/url
```

## Usage

```js
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)](https://github.com/faker-javascript/url/blob/master/LICENSE)
Copyright (c) [Sergey Romanenko](https://github.com/Awilum)