Function getPostalCode

  • Example function that generates a postal code for a given location.

    Parameters

    • location: string

      The location to generate the postal code for.

    Returns Promise<undefined | string>

    A string representing the generated postal code.

    Example

    await getPostalCode('New York') // => '10001'
    

Generated using TypeDoc