postcode

Validate & parse UK postcodes

Validate

import 'package:postcode/postcode.dart';

isValid("AA1 1AB")); // => true

TODO: Parse

Pass a string to parse. This will return a valid or invalid postcode instance which can be easily destructured.

License

MIT

Libraries

is_valid
postcode