Current section
Files
Jump to
Current section
Files
pipe_helpers
README.md
README.md
# PipeHelpersPipe helpers are a set of simple helpers for elixir to help structure code withpipes.## InstallationIf [available in Hex](https://hex.pm/docs/publish), the package can be installedby adding `pipe_helpers` to your list of dependencies in `mix.exs`:```elixirdef deps do [ {:pipe_helpers, "~> 0.1.0"} ]end```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)and published on [HexDocs](https://hexdocs.pm). Once published, the docs canbe found at <https://hexdocs.pm/pipe_helpers>.## DocumentationThe library is documented in the[main module documentation](https://hexdocs.pm/pipe_helpers/PipeHelpers.html).Small example:```elixir import PipeHelpers # Example in a live view @impl true def mount(_params, _session, socket) do socket |> assign(loading: true) |> ok() end```