libphonenumber: Parsing, formatting, and validating international phone numbers

[ data, library, mit ] [ Propose Tags ]

This package provides bindings for the C++ version of the libphonenumber library. The bindings currently do not include AsYouTypeFormatter and ShortNumberInfo.

The interface largely resembles that of the original unified C++, Java, and JavaScript version of the library, with some minor changes to make the interface more Haskell-like.

The provided functions are pure, under the assumption that we are the only user of the C++ library, i.e. that no one else has installed a global logger which could observe side-effects from library calls.

The underlying library internally uses UTF-8 encoded byte strings. To avoid decoding overhead where it is unnecessary, and to avoid a dependency on text, we use ByteString throughout the library instead of Data.Text.Text.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.3.0
Dependencies base (>=4.12 && <4.19), bytestring (>=0.10.8 && <0.12), containers (>=0.6.0 && <0.7), deepseq (>=1.4.4 && <1.5), system-cxx-std-lib, transformers (>=0.5.5 && <0.7) [details]
License MIT
Copyright 2023 Typeable
Author Typeable
Maintainer mniip@typeable.io
Category Data
Home page https://github.com/typeable/libphonenumber/
Source repo head: git clone https://github.com/typeable/libphonenumber/
Uploaded by mniip at 2023-03-22T12:45:19Z
Distributions
Downloads 172 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2023-03-22 [all 2 reports]