v0.1.0
Postal Code API
Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Versions
Postal Code API
Postal Code is Deno module for providing mapped postal zip code with addresses
Usage
Simple Usage
import { createPostalCode } from "https://deno.land/x/postal_code/mod.ts";
const postalCode = await createPostalCode("TH", { lang: "th" });
const bangkok01 = postalCode.addressOf(10270);
// example `bangkok01` structure
{
"code": 10270,
"province": "āļŠāļĄāļļāļāļĢāļāļĢāļēāļāļēāļĢ",
"district": "āđāļĄāļ·āļāļāļŠāļĄāļļāļāļĢāļāļĢāļēāļāļēāļĢ",
"subDistrict": "āļāļēāļāļāđāļģ"
"region": "āļ āļēāļāļāļĨāļēāļ"
},
{
"code": 10270,
"province": "āļŠāļĄāļļāļāļĢāļāļĢāļēāļāļēāļĢ",
"district": "āđāļĄāļ·āļāļāļŠāļĄāļļāļāļĢāļāļĢāļēāļāļēāļĢ",
"subDistrict": "āļŠāļģāđāļĢāļāđāļŦāļāļ·āļ",
"region": "āļ āļēāļāļāļĨāļēāļ"
},
{
"code": 10270,
"province": "āļŠāļĄāļļāļāļĢāļāļĢāļēāļāļēāļĢ",
"district": "āđāļĄāļ·āļāļāļŠāļĄāļļāļāļĢāļāļĢāļēāļāļēāļĢ",
"subDistrict": "āļāļēāļāđāļĄāļ·āļāļ",
"region": "āļ āļēāļāļāļĨāļēāļ"
},