Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including international-postal-address with all npm packages installed. Try it out:

var internationalPostalAddress = require("international-postal-address")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

international-postal-address v0.1.1

Formats postal addresses for a specified region


Formatter for international addresses

Based on the following preferred international address formats document.

Address Info Properties

HonorificTBD description
FirstNameTBD description
SecondNameTBD description
LastNameTBD description
CompanyNameTBD description
Address1TBD description
Address2TBD description
CityTBD description
StateTBD description
PostalCodeTBD description
CountryTBD description
ProvinceTBD description
TitleTBD description
CountryCodeTBD description
AddressTBD description
CountryAbbreviationTBD description
PrefectureTBD description
DoTBD description
SiTBD description
DongTBD description
GuTBD description
FirstLastNameTBD description
SecondLastNameTBD description
JobTitleTBD description
RepublicTBD description
RegionTBD description
JobTBD description


  • enables multiple matching criteria ** country code ( ** country name
  • Simple for third party to extend ** Extensions include adding new country->formatter bindings, new formatters, and replacing existing formatters and bindings ** example binding replacement should be one that comprehends the vocabulary
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free