PakDataKit - v2.2.0
    Preparing search index...

    Function getPostalCode

    • Returns the primary postal code for a Pakistani city.

      Matching is case-insensitive and whitespace-tolerant. When multiple postal codes exist, returns the primary GPO code.

      Parameters

      • city: string

        City name to look up

      Returns string | null

      Postal code or null if not found