Popularity
0.9
Growing
Activity
0.0
Stable
1
3
0

Monthly Downloads: 12
Programming language: Elixir
License: Apache License 2.0
Tags: Text And Numbers    
Latest version: v0.3.0

ex_rfc3966 alternatives and similar packages

Based on the "Text and Numbers" category.
Alternatively, view ex_rfc3966 alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of ex_rfc3966 or a related project?

Add another 'Text and Numbers' Package

README

Build Status

RFC3966

A Tel URI parser trying to be strictly compatible with RFC3966.

This project uses ex_abnf with the official uri grammar

Example

iex> RFC3966.init # Call this one first to initialize the grammar.
iex> {_matched_tel, _not_matched_input, result} = RFC3966.parse 'tel:+1-201-555-0123;param1;param2=value'
iex> result
%RFC3966.Result{
    context: nil,
    descriptor: nil,
    ext: nil,
    global: true,
    isub: nil,
    local: false,
    number: '+1-201-555-0123',
    params: %{'param1' => nil, 'param2' => 'value'}
}

Using it with Mix

To use it in your Mix projects, first add it as a dependency:

def deps do
  [{:ex_rfc3966, "~> 0.2.4"}]
end

Then run mix deps.get to install it.

License

The source code is released under Apache 2 License.

Check LICENSE file for more information.


*Note that all licence references and agreements mentioned in the ex_rfc3966 README section above are relevant to that project's source code only.