Behaviours and Interfaces

OTP behaviours and interface definitions for creating reusable and standardized components. Packages among the 3,000 most downloaded in the past 90 days.

12 packages
  • Database connection behaviour for database transactions and connection pooling

    338
    3.5m last 90 days
  • enough 0.1.0

    A gen_server implementation with additional, overload-protected call type

    8
    551.4k last 90 days
  • Connection behaviour for connection processes

    266
    531.5k last 90 days
  • knigge 1.4.1

    An opinionated way of dealing with behaviours.

    110
    319.9k last 90 days
  • oath 0.1.1

    Oath provides a system for Design by Contract in Elixir.

    46
    65.0k last 90 days
  • Dead-simple Access behaviour for custom structs

    47
    61.7k last 90 days
  • StructAccess provides a generic implementation of the `Access` behaviour for the module where this library is used.

    12
    20.1k last 90 days
  • Erlang behaviour for recurring events

    23
    6.6k last 90 days
  • hooks 3.0.0

    generic plugin & hook system

    73
    6.1k last 90 days
  • metal 0.1.1

    Lightweight server behaviour

    15
    4.5k last 90 days
  • swidden 2025.3.0

    swidden

    14
    3.3k last 90 days
  • fun_land 0.10.0

    FunLand adds Behaviours to define Algebraic Data Types ('Container' data types) to Elixir, such as Functors, Monoids and Monads.

    73
    1.9k last 90 days