Popularity
1.7
Growing
Activity
0.0
Declining
9
2
0
Monthly Downloads: 36
Programming language: Elixir
License: MIT License
Tags:
Validations
Latest version: v1.0.0
uk_postcode alternatives and similar packages
Based on the "Validations" category.
Alternatively, view uk_postcode alternatives based on common mentions on social networks and blogs.
-
exop
Elixir library that provides macros which allow you to encapsulate business logic and validate incoming parameters with predefined contract. -
bankster
An IBAN account numbers and BIC validation tool for Elixir. -
is
Fast, extensible and easy to use data structure validation for elixir with nested structures support.
Learn Elixir in as little as 12 Weeks
A structured learning environment with practical assignments, code reviews, weekly live coaching sessions, job-hunting assistance, and more. Try a Free Preview today!
Promo
learn-elixir.dev
Do you think we are missing an alternative of uk_postcode or a related project?
Popular Comparisons
README
UK Postcode
UK postcode parsing and validation for Elixir. Based on the excellent Ruby library of the same name by @threedaymonk.
Usage
Validate full postcodes or parts of a postcode.
UKPostcode.valid? "W1A 1AA" #=> true
UKPostcode.full? "W1A 1AA" #=> true
UKPostcode.outcode? "W1A" #=> true
Extract parts of a full postcode.
UKPostcode.outcode "W1A 1AA" #=> "W1A"
UKPostcode.incode "W1A 1AA" #=> "1AA"
Normalise badly formatted postcodes.
UKPostcode.normalise "w1a1aa" #=> "W1A 1AA"