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 1,000,000+ packages pre-installed, including uk-clear-addressing with all npm packages installed. Try it out:

const { Address } = require("uk-clear-addressing"); const address = new Address({ postcode: "WS11 5SB", post_town: "CANNOCK", thoroughfare: "Pye Green Road", building_name: "Flower House 189A", organisation_name: "S D Alcott Florists", }); console.log(address.formattedAddress()); const { line_1, line_2, line_3, post_town, postcode, premise } = address;

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

uk-clear-addressing v4.2.0

Converts UK address fragments into a properly formatted address recognised by Royal Mail's Clear Addressing Guidelines. Maps perfectly from Royal Mails PAF database

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