ExNric alternatives and similar packages
Based on the "Utilities" category.
Alternatively, view ExNric alternatives based on common mentions on social networks and blogs.
-
retry
Simple Elixir macros for linear retry, exponential backoff and wait with composable delays -
erlware_commons
Erlware Commons is an Erlware project focused on all aspects of reusable Erlang components. -
async_with
The asynchronous version of Elixir's "with", resolving the dependency graph and executing the clauses in the most performant way possible! -
plasm
Ecto's composable query multitool (.count, .random, .earliest, .latest, .find, .at, .on, etc.) -
sips_downloader
Utility to download Elixir Sips screencast videos written in Elixir (subscription to Elixir Sips required) -
ar2ecto
Migrate your active record migrations to ecto compatible migrations -
ex_progress
A library for tracking progress across many tasks and sub-tasks -
fitex
FitEx is a Macro-Module which provides a bit of sugar for function definitions. -
exjprop
Elixir library for reading Java properties files from various sources.
Tired of breaking your main and manually rebasing outdated pull requests?
Do you think we are missing an alternative of ExNric or a related project?
README
ExNric
About
Validation for Singapore National Registration Identity Card numbers (NRIC)
Installation
If available in Hex, the package can be installed
by adding ex_nric
to your list of dependencies in mix.exs
:
def deps do
[
{:ex_nric, "~> 0.2.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ex_nric.
Usage
import ExNric
{:ok, "S7343684B"} = validate("S7343684B")
{:error, :invalid_format} = validate("x")
{:error, :invalid_format} = validate("x")
{:error, :checksum_error} = validate("G0047750U")
Contributing
Pull requests to contribute new or improved features, and extend documentation are most welcome.
Please follow the existing coding conventions, or refer to the Elixir style guide.
You should include unit tests to cover any changes. Run mix test
to execute the test suite.
You should also ensure that dialyzer checks pass. Run mix dialyzer
to verify.