Postman-Paf-js
Postman-Paf-js We’ve recently released a library called postman-paf-js that we use to apply Royal Mail rules & exceptions to PAF (Postcode Address File) addresses when converting to a printable format. We also have a ruby implementation. Why is Postman Paf required? To put it simply, UK addresses are more complicated than they might seem. But aren’t addresses just a few set lines that appear on your letters? Unfortunately, it’s not that simple! Most addresses in the UK are stored in a database called the Postal Address File (PAF), which is owned and managed by the Royal Mail. This database includes over 30 million UK postal delivery addresses and 1.8 million postcodes. However, these addresses are not stored in the familiar format you see on your envelope. Instead, they are stored in a specific data structure, as shown here ...