xk6-faker
    Preparing search index...

    Interface Hipster

    Generator to generate hipster words, phrases and paragraphs.

    interface Hipster {
        hipsterParagraph(
            paragraphcount: number,
            sentencecount: number,
            wordcount: number,
            paragraphseparator: string,
        ): string;
        hipsterSentence(wordcount: number): string;
        hipsterWord(): string;
    }
    Index

    Methods

    • Paragraph showcasing the use of trendy and unconventional vocabulary associated with hipster culture.

      Parameters

      • paragraphcount: number

        Paragraph Count

      • sentencecount: number

        Sentence Count

      • wordcount: number

        Word Count

      • paragraphseparator: string

        Paragraph Separator

      Returns string

      a random hipster paragraph

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

      let faker = new Faker(11)

      export default function () {
      console.log(faker.hipster.hipsterParagraph(2,2,5,"\u003cbr /\u003e"))
      }

      Output (formatted as JSON value)

      "Offal forage pinterest direct trade pug. Skateboard food truck flannel cold-pressed church-key.<br />Keffiyeh wolf pop-up jean shorts before they sold out. Hoodie roof portland intelligentsia gastropub."
      
    • Sentence showcasing the use of trendy and unconventional vocabulary associated with hipster culture.

      Parameters

      • wordcount: number

        Word Count

      Returns string

      a random hipster sentence

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

      let faker = new Faker(11)

      export default function () {
      console.log(faker.hipster.hipsterSentence(5))
      }

      Output (formatted as JSON value)

      "Offal forage pinterest direct trade pug."
      
    • Trendy and unconventional vocabulary used by hipsters to express unique cultural preferences.

      Returns string

      a random hipster word

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

      let faker = new Faker(11)

      export default function () {
      console.log(faker.hipster.hipsterWord())
      }

      Output (formatted as JSON value)

      "offal"