Interface Language

Generator to generate language related entries.

interface Language {
    language(): string;
    languageAbbreviation(): string;
    languageBcp(): string;
    programmingLanguage(): string;
}

Methods

  • System of communication using symbols, words, and grammar to convey meaning between individuals.

    Returns string

    a random language

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

    let faker = new Faker(11)

    export default function () {
    console.log(faker.language.language())
    }

    Output (formatted as JSON value)

    "Esperanto"
    
  • Shortened form of a language's name.

    Returns string

    a random language abbreviation

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

    let faker = new Faker(11)

    export default function () {
    console.log(faker.language.languageAbbreviation())
    }

    Output (formatted as JSON value)

    "eo"
    
  • Set of guidelines and standards for identifying and representing languages in computing and internet protocols.

    Returns string

    a random language bcp

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

    let faker = new Faker(11)

    export default function () {
    console.log(faker.language.languageBcp())
    }

    Output (formatted as JSON value)

    "he-IL"
    
  • Formal system of instructions used to create software and perform computational tasks.

    Returns string

    a random programming language

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

    let faker = new Faker(11)

    export default function () {
    console.log(faker.language.programmingLanguage())
    }

    Output (formatted as JSON value)

    "Ceylon"