Elixir Macros

Open-source Elixir projects categorized as Macros

Top 23 Elixir Macro Projects

  1. typed_struct

    An Elixir library for defining structs with a type without writing boilerplate code. (by ejpcmac)

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. OK

    Elegant error/exception handling in Elixir, with result monads. (by CrowdHailer)

  4. decorator

    Function decorators for Elixir

  5. pathex

    Fastest tool to access data in Elixir

  6. pipes

    Macros for more flexible composition with the Elixir Pipe operator

  7. exceptional

    Helpers for Elixir exceptions

  8. shorter_maps

    Elixir ~M sigil for map shorthand. `~M{id, name} ~> %{id: id, name: name}`

  9. expat

    Reusable, composable patterns across Elixir libraries

  10. eventsourced

    Functional domain models with event sourcing in Elixir

  11. ok_jose

    Pipe elixir functions that match ok/error tuples or custom patterns.

  12. crudry

    Elixir library for DRYing CRUD in Phoenix Contexts and Absinthe Resolvers.

  13. FakeServer

    FakeServer integrates with ExUnit to make external APIs testing simpler

  14. pattern_tap

    Macro for tapping into a pattern match while using the pipe operator

  15. mdef

    Easily define multiple function heads in elixir

  16. happy

    the alchemist's happy path with elixir (by vic)

  17. pipe_here

    An Elixir macro for easily piping arguments at any position.

  18. pit

    Elixir macro for extracting or transforming values inside a pipe flow.

  19. named_args

    Allows named arg style arguments in Elixir

  20. typed_structor

    TypedStructor is a library for defining typed structs, exceptions and record macros with effortlessly.

  21. anaphora

    The anaphoric macro collection for Elixir

  22. unsafe

    Generate unsafe (!) bindings for Elixir functions

  23. rulex

    This tiny library (2 macros only) allows you to define very simple rule handler using Elixir pattern matching. (by kbrw)

  24. apix

    Simple convention and DSL for transformation of elixir functions to an API for later documentation and or validation.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Elixir Macros discussion

Log in or Post with

Elixir Macros related posts

  • Show HN: ES6_maps, new Elixir syntax feature via runtime compiler hacking

    5 projects | news.ycombinator.com | 12 May 2024
  • Ask HN: Why isn't Phoenix/Elixir more mainstream?

    4 projects | news.ycombinator.com | 29 Sep 2023
  • Working with JSON files

    2 projects | /r/elixir | 20 Sep 2022
  • How do you deal with manipulating deep / complex data structures in Elixir?

    2 projects | /r/elixir | 13 Sep 2022
  • What do you *not* like about Elixir?

    4 projects | /r/elixir | 5 Jun 2022
  • A library for performing fast actions with nested data structures in Elixir

    2 projects | /r/elixir | 26 May 2022
  • Are there any open source Elixir projects that I could help with as a beginner?

    5 projects | /r/elixir | 18 May 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Macro projects in Elixir? This list will help you:

# Project Stars
1 typed_struct 768
2 OK 605
3 decorator 405
4 pathex 363
5 pipes 324
6 exceptional 294
7 shorter_maps 235
8 expat 175
9 eventsourced 104
10 ok_jose 101
11 crudry 93
12 FakeServer 72
13 pattern_tap 58
14 mdef 49
15 happy 44
16 pipe_here 34
17 pit 29
18 named_args 28
19 typed_structor 19
20 anaphora 18
21 unsafe 13
22 rulex 13
23 apix 12

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Elixir is
the 21st most popular programming language
based on number of references?