Popularity
4.8
Stable
Activity
4.1
-
30
7
9

Monthly Downloads: 3,448
Programming language: Elixir
License: Apache License 2.0
Tags: Miscellaneous    

address_us alternatives and similar packages

Based on the "Miscellaneous" category.
Alternatively, view address_us alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of address_us or a related project?

Add another 'Miscellaneous' Package

README

AddressUS

US Address Parser

This is an Elixir library for parsing US Addresses. It parses single line or multi-line addresses and largely ignores punctuation. It closely follows the USPS guidelines for address parsing, although it doesn't exactly follow it, particularly in cases where the address is particularly odd. I hope to update it as I find exceptions. The easiest way to see the usage is to check out the tests. You can also read the documentation here. The basic rundown is this:

iex(1)> parse_address("1500 Serpentine Road Suite 100 Baltimore MD 21"

%Address{city: "Baltimore", postal: "00021", state: "MD", street: %Street{primary_number: "1500", suffix: "Rd", name: "Serpentine", secondary_designator: "Ste", secondary_number: "100"}}