Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/axelson/jax_utils


https://github.com/axelson/jax_utils

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# JaxUtils

Notable utils:
- `JaxUtils.ConfigHelpersV2` - Make it easier to parse environment variables within `config/runtime.exs`
- `JaxUtils.StringHelpers.is_blank/1` - Rails-like check if a string is blank (`nil` or `""`)
- `JaxUtils.CachexUtils.cachex_fetch_with_ttl/4` - Fetch a value in Cachex with a fallback cache with a built-in ttl (to avoid a separate call)
- Note: only available if cachex is installed

## Installation

This package can be installed by adding `jax_utils` to your list of dependencies
in `mix.exs`:

```elixir
def deps do
[
{:jax_utils, github: "axelson/jax_utils"},
]
end
```