Formatter for international addresses
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.editorconfig
.gitignore
LICENSE
README.md
package.json

README.md

international-address

Formatter for international addresses

Based on the following preferred international address formats document.

Address Info Properties

Property Description
Honorific TBD description
FirstName TBD description
SecondName TBD description
LastName TBD description
CompanyName TBD description
Address1 TBD description
Address2 TBD description
City TBD description
State TBD description
PostalCode TBD description
Country TBD description
Province TBD description
Title TBD description
CountryCode TBD description
Address TBD description
CountryAbbreviation TBD description
Prefecture TBD description
Do TBD description
Si TBD description
Dong TBD description
Gu TBD description
FirstLastName TBD description
SecondLastName TBD description
JobTitle TBD description
Republic TBD description
Region TBD description
Job TBD description

Requirements

  • enables multiple matching criteria ** country code (https://en.wikipedia.org/wiki/ISO_3166-1) ** 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 http://schema.org/PostalAddress vocabulary