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.
- Host: GitHub
- URL: https://github.com/faker-javascript/url
- Owner: faker-javascript
- License: mit
- Created: 2022-01-20T21:10:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-13T06:59:35.000Z (over 3 years ago)
- Last Synced: 2025-03-23T15:35:13.532Z (3 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Url
Url package provides functionality to generate a fake url value.
## Install
```
$ npm install --save @fakerjs/url
```## Usage
```js
import url from '@fakerjs/url';url();
//=> http://rad.comurl({protocol: 'https'});
//=> https://rad.comurl({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)