Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/axelson/jax_utils
https://github.com/axelson/jax_utils
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/axelson/jax_utils
- Owner: axelson
- Created: 2022-01-13T09:20:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-12T17:33:54.000Z (about 1 year ago)
- Last Synced: 2024-12-16T00:47:24.070Z (about 1 month ago)
- Language: Elixir
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```