@fakerjs/domain
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Domain

Domain package provides functionality to generate a fake domain value.

Version node-current License

Install

$ npm install --save @fakerjs/domain

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

Dependencies (2)

Dev Dependencies (4)

Package Sidebar

Install

npm i @fakerjs/domain

Weekly Downloads

2,172

Version

1.1.0

License

MIT

Unpacked Size

3.44 kB

Total Files

5

Last publish

Collaborators

  • awilum