Interface Beer

Generator to generate beer related entries.

interface Beer {
    beerAlcohol(): string;
    beerBlg(): string;
    beerHop(): string;
    beerIbu(): string;
    beerMalt(): string;
    beerName(): string;
    beerStyle(): string;
    beerYeast(): string;
}

Methods

  • Measures the alcohol content in beer.

    Returns string

    a random beer alcohol

    import { Faker } from "k6/x/faker"

    let faker = new Faker(11)

    export default function () {
    console.log(faker.beer.beerAlcohol())
    }

    Output (formatted as JSON value)

    "6.5%"
    
  • Scale indicating the concentration of extract in worts.

    Returns string

    a random beer blg

    import { Faker } from "k6/x/faker"

    let faker = new Faker(11)

    export default function () {
    console.log(faker.beer.beerBlg())
    }

    Output (formatted as JSON value)

    "13.4°Blg"
    
  • The flower used in brewing to add flavor, aroma, and bitterness to beer.

    Returns string

    a random beer hop

    import { Faker } from "k6/x/faker"

    let faker = new Faker(11)

    export default function () {
    console.log(faker.beer.beerHop())
    }

    Output (formatted as JSON value)

    "Nugget"
    
  • Scale measuring bitterness of beer from hops.

    Returns string

    a random beer ibu

    import { Faker } from "k6/x/faker"

    let faker = new Faker(11)

    export default function () {
    console.log(faker.beer.beerIbu())
    }

    Output (formatted as JSON value)

    "80 IBU"
    
  • Processed barley or other grains, provides sugars for fermentation and flavor to beer.

    Returns string

    a random beer malt

    import { Faker } from "k6/x/faker"

    let faker = new Faker(11)

    export default function () {
    console.log(faker.beer.beerMalt())
    }

    Output (formatted as JSON value)

    "Roasted barley"
    
  • Specific brand or variety of beer.

    Returns string

    a random beer name

    import { Faker } from "k6/x/faker"

    let faker = new Faker(11)

    export default function () {
    console.log(faker.beer.beerName())
    }

    Output (formatted as JSON value)

    "90 Minute IPA"
    
  • Distinct characteristics and flavors of beer.

    Returns string

    a random beer style

    import { Faker } from "k6/x/faker"

    let faker = new Faker(11)

    export default function () {
    console.log(faker.beer.beerStyle())
    }

    Output (formatted as JSON value)

    "English Brown Ale"
    
  • Microorganism used in brewing to ferment sugars, producing alcohol and carbonation in beer.

    Returns string

    a random beer yeast

    import { Faker } from "k6/x/faker"

    let faker = new Faker(11)

    export default function () {
    console.log(faker.beer.beerYeast())
    }

    Output (formatted as JSON value)

    "2035 - American Lager"