Elixir Macros

Open-source Elixir projects categorized as Macros

Top 23 Elixir Macro Projects

  • typed_struct

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

  • OK

    Elegant error/exception handling in Elixir, with result monads.

  • Paraxial.io

    Elixir and Phoenix Application Security Platform. Replace Snyk, reCaptcha, and Cloudflare bot defense with the only application security platform built for Elixir and Phoenix.

  • decorator

    Function decorators for Elixir (by arjan)

    Project mention: Using macros for a mini DSL to get consistent authoriziation | reddit.com/r/elixir | 2023-03-06
  • pipes

    Macros for more flexible composition with the Elixir Pipe operator

  • exceptional

    Helpers for Elixir exceptions

  • pathex

    Fastest tool to access data in Elixir

    Project mention: Working with JSON files | reddit.com/r/elixir | 2022-09-20

    If the JSON object is ('very') nested, try out with or maybe Pathex.

  • shorter_maps

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

    Project mention: What do you *not* like about Elixir? | reddit.com/r/elixir | 2022-06-05

    You can use shorter maps for the double naming -> https://github.com/meyercm/shorter_maps

  • Learn Elixir

    Learn Elixir in as little as 12 Weeks. A structured learning environment with practical assignments, code reviews, weekly live coaching sessions, job-hunting assistance, and more. Try a Free Preview today!

  • expat

    Reusable, composable patterns across Elixir libraries

  • eventsourced

    Functional domain models with event sourcing in Elixir

  • ok_jose

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

  • pipe_to

    The enhanced elixir pipe operator which can specify the target position

  • crudry

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

  • FakeServer

    FakeServer integrates with ExUnit to make external APIs testing simpler

  • pattern_tap

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

  • mdef

    Easily define multiple function heads in elixir

  • happy

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

  • pipe_here

    An Elixir macro for easily piping arguments at any position.

  • named_args

    Allows named arg style arguments in Elixir

  • pit

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

  • guardsafe

    Macros expanding into code that can be safely used in guard clauses.

  • anaphora

    The anaphoric macro collection for Elixir

  • rulex

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

  • apix

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

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

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). The latest post mention was on 2023-03-06.

Elixir Macros related posts

Index

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

Project Stars
1 typed_struct 652
2 OK 585
3 decorator 357
4 pipes 326
5 exceptional 276
6 pathex 265
7 shorter_maps 219
8 expat 174
9 eventsourced 101
10 ok_jose 95
11 pipe_to 83
12 crudry 78
13 FakeServer 71
14 pattern_tap 57
15 mdef 48
16 happy 43
17 pipe_here 33
18 named_args 28
19 pit 27
20 guardsafe 24
21 anaphora 16
22 rulex 12
23 apix 11
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
www.sonarlint.org