Skip to content
/ rfc5646 Public

Elixir repo for testing strings against RFC 5646

License

Notifications You must be signed in to change notification settings

ej4/rfc5646

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RFC5646

Test strings against RFC 5646

Usage

RFC5646.valid?("sandwich") #=> false
RFC5646.valid?("en-US") #=> true
RFC5646.valid?(["en-US", "en-GB"]) #=> true

Installation

Add rfc5646 to your list of dependencies in mix.exs:

def deps do
  [{:rfc5646, "~> 0.1.0"}]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/rfc5646.

About

Elixir repo for testing strings against RFC 5646

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages