JediHelpers
A collection of general-purpose helpers for Elixir projects, designed to make your codebase cleaner and more reusable. Includes utilities for working with changesets and common functional patterns.
Features
- Changeset string trimming and blank-to-
nilnormalization. - Validation that at least one of several changeset fields is present.
- Select-option generation with field or function selectors.
- Date parsing, number and money formatting, and common display helpers.
Installation
Add :jedi_helpers to your list of dependencies in mix.exs:
def deps do
[
{:jedi_helpers, "~> 0.3.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/jedi_helpers.