Utilities
General-purpose utility libraries and helper functions. Packages among the 3,000 most downloaded in the past 90 days.
-
3731.9m
-
1.6k1.1m
-
641.1m
-
10847.5k
-
61744.8k
-
1.2k624.8k
-
366563.9k
-
366494.3k
-
retry 0.19.0
Simple Elixir macros for linear retry, exponential backoff and wait with composable delays.
456448.0k last 90 days456448.0k -
typed_struct 0.3.0
A library for defining structs with a type without writing boilerplate code.
761410.0k last 90 days761410.0k -
deep_merge 1.0.0
Deep (recursive) merging for maps, keyword lists and whatever else you may want via implementing a simple protocol.
116396.7k last 90 days116396.7k -
ex2ms 1.7.0
Translates Elixir functions to match specifications for use with `ets`.
201345.0k last 90 days201345.0k -
496343.8k
-
uniq 0.6.2
Provides UUID generation, parsing, and formatting. Supports RFC 4122, and the v6 draft extension
114333.8k last 90 days114333.8k -
559293.3k
-
139281.7k
-
221266.5k
-
cldr_utils 2.29.1
Map, Calendar, Digits, Decimal, HTTP, Macro, Math, and String helpers for ex_cldr.
16250.6k last 90 days16250.6k -
43241.6k
-
money 1.14.0
Elixir library for working with Money safer, easier, and fun, is an interpretation of the Fowler's Money pattern in fun.prog.
845216.4k last 90 days845216.4k -
9130.5k
-
134120.8k
-
moar 4.2.0
A dependency-free utility library containing 100+ useful functions.
22114.9k last 90 days22114.9k -
nanoid 2.1.0
Elixir port of NanoID (https://github.com/ai/nanoid), a tiny, secure URL-friendly unique string ID generator.
231105.5k last 90 days231105.5k -
196104.7k
-
puid 2.7.0
Simple, fast, flexible and efficient generation of probably unique identifiers (`puid`, aka random strings) of intuitively specified entropy using pre-defined or custom characters.
9396.0k last 90 days9396.0k -
22489.4k
-
76180.6k
-
morphix 0.8.1
Morphix is a small package of convenience methods for working with Maps, Tuples, and Lists.
79.1k last 90 days-79.1k -
map_diff 1.3.4
Calculates the difference between two (nested) maps, and returns a map representing the patch of changes.
13178.7k last 90 days13178.7k -
1878.5k
-
ex_maybe 1.1.1
This library fills a bunch of important niches. A Maybe can help you with optional arguments, error handling, and records with optional fields.
065.5k last 90 days065.5k -
57865.2k
-
countries 1.6.0
Countries is a collection of all sorts of useful information for every country in the [ISO 3166](https://de.wikipedia.org/wiki/ISO_3166) standard.
15664.1k last 90 days15664.1k -
enum_type 1.1.3
An Elixir friendly Enum module generator that can be used by itself or with Ecto.
2054.9k last 90 days2054.9k -
atomic_map 0.9.3
A small utility to convert deep Elixir maps with mixed string/atom keys to atom-only keyed maps
4654.8k last 90 days4654.8k -
blankable 1.0.0
Implementation of `blank?` in Elixir. Aims to work in a practically identical fashion to ActiveSupport's #blank? method.
2954.0k last 90 days2954.0k -
4347.7k
-
1946.8k
-
13546.3k
-
redis_mutex 1.1.0
RedisMutex is a library for creating a Redis lock for a single Redis instance
1337.8k last 90 days1337.8k -
coerce 1.0.2
Coerce allows defining coercions, standardized conversions, between data types.
235.2k last 90 days235.2k -
1533.8k
-
10731.5k
-
2730.4k
-
deadline 0.7.1
Deadline is a small library for managing deadlines and deadline propagation.
2429.2k last 90 days2429.2k -
5129.0k
-
ex_ulid 0.1.0
Universally Unique Lexicographically Sortable Identifier (ULID) in Elixir.
3328.6k last 90 days3328.6k -
2526.0k
-
7025.5k
-
2123.1k
-
uuid_v7 0.6.0
UUID v7 with an 18-bit randomly-seeded counter. (Re: Section 6.2, from the IETF Draft.)
6922.8k last 90 days6922.8k -
uxid 2.2.0
Generates identifiers like: cus_01EPEY1JMKXVBT and txn_01EPEY2P06TR1RTV07XA82ZGJJ. Includes Ecto type.
3522.7k last 90 days3522.7k -
722.2k
-
3618.8k
-
1118.2k
-
617.7k
-
617.4k
-
1516.7k
-
mutex 3.0.2
This package implements a simple mutex as a GenServer. It allows to lock keys and handles locking multiple keys without deadlocks.
3416.2k last 90 days3416.2k -
2215.7k
-
9915.2k
-
1715.0k
-
36013.7k
-
1213.0k
-
stream_split 0.1.7
Split a stream into a head and tail, without iterating the tail
3712.6k last 90 days3712.6k -
iteraptor 1.15.0
This small library allows the deep iteration / mapping of Enumerables.
7112.5k last 90 days7112.5k -
8112.4k
-
remodel 0.0.4
Remodel is an Elixir presenter package used to transform data structures. This is especially useful when a desired representation doesn't match the schema defined within the database.
14111.9k last 90 days14111.9k -
511.8k
-
1.2k11.7k
-
nested_filter 1.2.2
Drill down into a nested map and filter out keys according to user specified values
3510.7k last 90 days3510.7k -
fe 0.1.5
Collection of useful data types brought to Elixir from other functional languages.
4110.1k last 90 days4110.1k -
19710.1k
-
738.8k
-
1648.4k
-
188.1k
-
308.0k
-
917.6k
-
927.4k
-
257.2k
-
357.0k
-
216.3k
-
236.2k
-
256.2k
-
106.1k
-
chameleon 2.5.0
Chameleon is a utility for converting colors from one color model to another. Conversions can be made to/from RGB, CMYK, Hex, HSL, Pantone, and even Keywords. For example: "FFFFFF" -> %{c: 0, m: 0, y: 0, k: 0}
286.1k last 90 days286.1k -
55.8k
-
935.7k
-
365.7k
-
numerator 0.3.0
Numerator does calculate paginations without creating any markup.
405.6k last 90 days405.6k -
55.6k
-
255.5k
-
1115.1k
-
unique_names_generator 0.2.0
Elixir library for generating random and unique names
35.0k last 90 days35.0k -
brex_result 0.4.0
Tools to handle three common return values in Elixir: `:ok | {:ok, value} | {:error, reason}`
844.9k last 90 days844.9k -
wild 1.0.1
A wildcard matching library that implements unix-style blob pattern matching functionality for Elixir binaries. It works on all binary input and defaults to working with codepoint representations of binaries, but other modes are also available.
44.8k last 90 days44.8k -
404.5k
-
204.5k
-
-4.4k
-
-4.4k
-
874.2k
-
324.2k
-
163.9k
-
83.9k
-
tailwind_merge 0.1.0
Utility function to efficiently merge Tailwind CSS classes in Elixir without style conflicts.
43.9k last 90 days43.9k -
143.8k
-
wait_for_it 2.1.2
Elixir library providing various ways of waiting for things to happen
173.8k last 90 days173.8k -
123.7k
-
key_tools 0.4.1
Simple functions for coercing Elixir Maps: atomizing, snake_casing, etc.
73.7k last 90 days73.7k -
1123.7k
-
trogon_typeprovider 0.2.2
A flexible type mapping system for Elixir struct modules
123.6k last 90 days123.6k -
handler 0.5.0
A helper to run functions that you want to limit by heap size or time
33.6k last 90 days33.6k -
-3.6k
-
aja 0.7.4
Extension of the Elixir standard library focused on data stuctures, data manipulation and performance
2203.4k last 90 days2203.4k -
miss 0.1.5
Some functions that I miss in Elixir standard library (and maybe you too). Miss Elixir brings in a non-intrusive way some extra functions that, for different reasons, are not part of the Elixir standard library.
422.9k last 90 days422.9k -
02.8k
-
krug 2.0.34
A Utilitary package functionalities modules for improve a secure performatic development.
22.8k last 90 days22.8k -
exemvi 0.3.0
A library to work with EMV QR Code Specification for Payment Systems
32.8k last 90 days32.8k -
-2.8k
-
32.6k
-
62.4k
-
-2.4k
-
102.3k
-
292.3k
-
92.3k
-
82.3k
-
-2.1k
-
atomize_keys 1.2.0
A tool to convert string map keys to atoms or atom map keys to strings.
02.1k last 90 days02.1k -
22.0k
-
lazy_for 1.1.0
Lazy implementation of Kernel.SpecialForms.for/1 based on streams
32.0k last 90 days32.0k -
currying 1.0.3
The Currying library allows you to partially apply (or 'curry') any Elixir function, in a very transparent way. It also optionally implements the infix operator `~>` as a synomym for currying.
451.9k last 90 days451.9k -
51.8k
-
given 6.0.0
👇 Ergonomic early returns (lazy guards) for Bool, Result and Option types as well as list membership checks in Gleam!
361.8k last 90 days361.8k -
521.8k
-
11.7k
-
digger 3.0.0
A collection of helpers to operate on nested maps. See README for the complete list of helpers. The test suite is also helpful.
61.7k last 90 days61.7k -
51.6k
-
ex_essentials 0.7.1
ExEssentials is a powerful utility library for Elixir that serves as a true toolbox — bringing together a collection of generic, reusable, and ready-to-use helpers to accelerate Elixir application development.
11.5k last 90 days11.5k -
pollution 0.9.2
Construct streams of values by specifying composable generator functions. For example list(tuple(like: {atom, string})) will generate a random length keyword list with random keys and values. Constraints can be applied at all levels.
311.5k last 90 days311.5k -
authoritex 1.3.1
An Elixir library for searching and fetching controlled vocabulary authority terms
31.5k last 90 days31.5k -
oas_generator_utils 1.0.0
Resuable utilities for projects generated with oas_generator for Open API Spec, JSON schema and MCP client or server.
191.5k last 90 days191.5k -
revisionair 0.13.4
Keep track of revisions, versions, changes to your data. Persistence layer agnostic.
281.5k last 90 days281.5k -
11.4k
-
aspire 0.1.0
Each function performs type conversion if it is 100% safe. Else it returns first argument as is.
01.4k last 90 days01.4k -
41.4k
-
961.4k
-
typeid_elixir 1.1.0
A type-safe, K-sortable, globally unique identifier inspired by Stripe IDs
691.3k last 90 days691.3k -
21.3k
-
01.3k
-
typed_structor 0.5.0
TypedStructor is a library for defining structs with types effortlessly.
191.3k last 90 days191.3k -
11.3k
-
flagmojis 1.0.0
An Elixir micro library that provides an easy lookup to country emoji flag information including ISO, Unicode, Emoji and Name.
221.2k last 90 days221.2k -
pid_file 0.2.0
This is a library to create and manage a PID file from the BEAM process.
321.2k last 90 days321.2k