Class: Business

Business

new Business(opts)

Class for generating data for business.
Parameters:
Name Type Description
opts object Options
Properties
Name Type Attributes Default Description
locale string <optional>
en Current locale

Methods

company()

Get a random company name.

companyType(opts)

Get a random type of business entity.
Parameters:
Name Type Description
opts object Options
Properties
Name Type Attributes Default Description
abbr boolean <optional>
false If True then return abbreviated company type.
Generate a random copyright.

currencyISO()

Get a currency code. ISO 4217 format.

price(opts)

Generate a random price.
Parameters:
Name Type Description
opts object Options
Properties
Name Type Attributes Default Description
minimum number <optional>
10
maximum number <optional>
1000