Skip to content

Domain package provides functionality to generate a fake domain value.

License

Notifications You must be signed in to change notification settings

faker-javascript/domain

Repository files navigation

Domain

Domain package provides functionality to generate a fake domain value.

Version node-current License

Install

npm

npm install @fakerjs/domain --save-dev

yarn

yarn add @fakerjs/domain -D

Usage

import domain from '@fakerjs/domain';

domain();
//=> rad.com

domain({tld: 'rad.com'});
//=> totally.rad.com

Tests

Run tests

npm run test

License

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

About

Domain package provides functionality to generate a fake domain value.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published