Function randString

  • Generates a random string of specified length

    Parameters

    • length: number

      Length of the random string

    Returns string

    Random string

    Example

    const { randString } = require("kiutils")
    const random = randString(10)
    console.log(random) // => "a1b2c3d4e5"

Generated using TypeDoc