Skip to content

Url package provides functionality to generate a fake url value.

License

Notifications You must be signed in to change notification settings

faker-javascript/url

Repository files navigation

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

About

Url package provides functionality to generate a fake url value.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published