Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.2 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.2 KB

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