Skip to content

laardee/address-encoder

This branch is 2 commits ahead of, 18 commits behind maasglobal/address-encoder:main.

Repository files navigation

address-encoder

Encode and decode MaaS's address schemas

The format: country:Finland|city:Helsinki|zipCode:00100|streetName:Ludviginkatu|streetNumber:6

Will be turned into the following object after decoding

{
  country: "Finland",
  city: "Helsinki",
  streetName: "Ludviginkatu",
  streetNumber: "6"
}

Current supports

  • Required fields: requires different fields to have non-empty value inside the encoded string
  • Decoding the format

About

Encode and decode MaaS's address schemas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%