{"id":92983,"library":"uk-postcode","title":"UK Postcode","description":"Parse, validate, and extract sub-fields from UK postcodes.","status":"active","version":"2.1.8","language":"ruby","source_language":null,"source_url":"https://github.com/threedaymonk/uk_postcode","tags":["uk","postcode","validation","parsing","address"],"install":[{"cmd":"gem install uk_postcode","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'uk_postcode', '~> 2.1.8'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"UKPostcode","correct":"require 'uk_postcode'"}],"quickstart":{"code":"require 'uk_postcode'\npc = UKPostcode.parse('SW1A 1AA')\nputs pc.valid?  # true\nputs pc.outcode # 'SW1A'","lang":"ruby","description":"Parse and validate a UK postcode."},"warnings":[],"env_vars":null,"search_vec":"'address':17 'extract':6 'field':9 'pars':3,16 'postcod':2,12,14 'sub':8 'sub-field':7 'uk':1,11,13 'valid':4,15","created_at":"2026-06-19T09:41:05.306588+00:00","updated_at":"2026-06-19T09:41:05.306588+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/threedaymonk/uk_postcode","github":"https://github.com/threedaymonk/uk_postcode","docs":"http://www.rubydoc.info/gems/uk_postcode/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}