kuon / ex-pipe-helpers

Elixir pipe helpers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Workflow Status Hex.pm License Hex.pm

PipeHelpers

Pipe helpers are a set of simple helpers for elixir to help structure code with pipes.

Installation

The package can be installed by adding pipe_helpers to your list of dependencies in mix.exs:

def deps do
  [
    {:pipe_helpers, "~> 1.1.11"}
  ]
end

Documentation

The library is documented in the main module documentation.

Small example:

  import PipeHelpers

  # Example in a live view
  @impl true
  def mount(_params, _session, socket) do
    socket
    |> assign(loading: true)
    |> ok()
  end

About

Elixir pipe helpers

License:Apache License 2.0


Languages

Language:Elixir 97.9%Language:Makefile 2.1%