Skip to main content

Vehicle

Module to generate vehicle related entries.

Overview

Most methods are related to cars/automobiles: a {{$vehicle.vehicle}} name is comprised of a car {{$vehicle.manufacturer}} and {{$vehicle.model}}. You can also generate {{$vehicle.fuel}}, {{$vehicle.type}}, and {{$vehicle.color}}, as well as typical car registration IDs {{$vehicle.vin}} and {{$vehicle.vrm}}.

If you prefer two wheels, you can generate a {{$vehicle.bicycle}} type instead.


bicycle

Returns a type of bicycle.

Returns: string

Examples

{{$vehicle.bicycle}}  // 'City Bicycle'

color

Returns a vehicle color.

Returns: string

Examples

{{$vehicle.color}}  // 'teal'

fuel

Returns a fuel type.

Returns: string

Examples

{{$vehicle.fuel}}  // 'Gasoline'

manufacturer

Returns a manufacturer name.

Returns: string

Examples

{{$vehicle.manufacturer}}  // 'Jeep'

model

Returns a vehicle model.

Returns: string

Examples

{{$vehicle.model}}  // 'Prius'

type

Returns a vehicle type.

Returns: string

Examples

{{$vehicle.type}}  // 'Crew Cab Pickup'

vehicle

Returns a random vehicle.

Returns: string

Examples

{{$vehicle.vehicle}}  // 'BMW PT Cruiser'

vin

Returns a vehicle identification number (VIN).

Returns: string

Examples

{{$vehicle.vin}}  // 'E2AD154L2TK700685'

vrm

Returns a vehicle registration number (Vehicle Registration Mark - VRM)

Returns: string

Examples

{{$vehicle.vrm}}  // 'OT08HEE'