Text and Numbers

Text processing, string manipulation, and numeric computation utilities. Packages among the 3,000 most downloaded in the past 90 days.

74 packages
  • unicode_util compatibility library for Erlang < 20

    10
    2.5m last 90 days
  • idna 7.1.0

    A pure Erlang IDNA implementation

    45
    2.5m last 90 days
  • decimal 2.3.0

    Arbitrary precision decimal arithmetic.

    474
    2.4m last 90 days
  • Generate configurable text-based tables for display (ASCII & more)

    263
    500.1k last 90 days
  • Tools to format paragraphs, lists and tables as plain text

    14
    462.7k last 90 days
  • recase 0.9.1

    Convert strings to any case you need.

    238
    436.9k last 90 days
  • A library for parsing, formatting, and validating international phone numbers. Based on Google's libphonenumber.

    274
    329.5k last 90 days
  • number 1.0.5

    Convert numbers to various string formats, such as currency

    233
    311.9k last 90 days
  • ordinal 0.2.0

    Convert numbers to their ordinalized form.

    12
    257.8k last 90 days
  • slugify 1.3.1

    Transform strings from any language to slugs for URLs, filenames or fun

    129
    226.7k last 90 days
  • TextDiff returns a formatted diff between two strings.

    5
    207.9k last 90 days
  • An Elixir library that converts keys in maps between `snake_case` and `camel_case`. Useful as a plug in Phoenix for converting incoming params from JavaScript's `camelCase` to Elixir's `snake_case`

    92
    125.6k last 90 days
  • abacus 2.1.0

    Mathematical expression parser and evaluator in Elixir. Tags: math, parse, parser, eval

    97
    102.6k last 90 days
  • A library to convert strings, atoms and map keys between `camelCase`, `snake_case` and `kebab-case`.

    2
    102.5k last 90 days
  • ex_money 5.24.2

    Money functions for operations on and localization of a money data type with support for ISO 4217 currencies and ISO 24165 digial tokens (crypto currencies).

    596
    101.2k last 90 days
  • Regular expressions in Gleam!

    15
    62.6k last 90 days
  • An Elixir library to make file sizes human-readable.

    42
    62.0k last 90 days
  • autumn 0.7.0

    Syntax highlighter powered by Tree-sitter and Neovim themes.

    93
    55.1k last 90 days
  • Parse user-agent strings with BrowserScope patterns

    48
    54.4k last 90 days
  • A printf / sprintf library for Elixir. It works as a wrapper for :io.format.

    33
    41.6k last 90 days
  • math 0.7.0

    The Math library extends Elixir with many common math-related functions, constants and (optionally) operators.

    106
    35.1k last 90 days
  • Unicode to ASCII transliteration

    367
    33.8k last 90 days
  • apa 0.6.9

    APA - Arbitrary precision arithmetic.

    2
    30.6k last 90 days
  • unicode 1.21.0

    Functions to introspect the Unicode character database and to provide fast codepoint lookups and guards.

    42
    30.6k last 90 days
  • justin 1.0.1

    Convert between snake_case, camelCase, and other cases in Gleam

    10
    29.9k last 90 days
  • A utility to compare strings in Natural order.

    13
    29.8k last 90 days
  • exmoji 0.3.1

    Emoji encoding swiss army knife for dealing with Unicode and other gotchas.

    107
    29.6k last 90 days
  • Efficiently slice prefixes from strings. Good for parsers!

    18
    27.4k last 90 days
  • numbers 5.2.4

    Numbers dispatches on any numeric type that follows the `Numeric` behaviour. This allows you to create composite types working with _any_ numeric type (Decimal, Ratio, Tensor, ComplexNum, ???)!

    41
    27.2k last 90 days
  • akin 0.2.0

    A collection of metrics and phonetic algorithms for fuzzy string matching in Elixir.

    40
    26.7k last 90 days
  • slugger 0.3.0

    The library Slugger can generate slugs from given strings that can be used in URLs or file names.

    160
    26.6k last 90 days
  • ratio 4.0.1

    This library allows you to use Rational numbers in Elixir, to enable exact calculations with all numbers big and small.

    42
    26.3k last 90 days
  • Fast Stringprep Erlang / Elixir implementation

    17
    25.9k last 90 days
  • Erlang 20 string compatibility library.

    1
    24.0k last 90 days
  • phone 0.5.11

    Phone number parser for telephone numbers in international standard or missing international country code.

    107
    23.0k last 90 days
  • randex 0.4.0

    A library to generate random strings that match the given Regex

    19
    21.8k last 90 days
  • angle 1.0.1

    Tired of forever converting back and forwards between degrees and radians? Well worry no more; Angle is here to make your life simple!

    0
    17.7k last 90 days
  • A fuzzy string comparison library for Elixir

    23
    17.4k last 90 days
  • Functions to introspect the Unicode character database and to provide fast codepoint lookups and guards.

    42
    15.7k last 90 days
  • re2 1.9.8

    Erlang NIF bindings for RE2 regex library

    76
    14.0k last 90 days
  • Transliterate from Unicode to ASCII. Based on Text::Unidecode.

    29
    12.3k last 90 days
  • Implementation of Unicode Sets and Regexes for Elixir that can be used in function guards, compiled patterns, nimble_parsec combinators and regexes.

    39
    12.1k last 90 days
  • ex_uc 1.2.0

    Utility to convert values between different units of the same kind. Extremely easy to extend and to use.

    22
    10.4k last 90 days
  • A library to help with formatting a number to a currency using iso standards and other convenience functions related to formatting currencies

    20
    10.4k last 90 days
  • General text utility library to help with string manipulation not found in the standard Elixir library.

    24
    9.0k last 90 days
  • antsy 0.2.1

    Decodes ANSI escape sequences

    0
    8.7k last 90 days
  • Bitwise operations on integers

    12
    8.5k last 90 days
  • excribe 0.1.1

    Simple text formatting utility for Elixir.

    8.5k last 90 days
  • An Elixir library that converts maps from `snake_case` to `camelCase`.

    7.6k last 90 days
  • Gleam library providing casefold and other string utility functions.

    0
    6.6k last 90 days
  • mojiex 0.1.1

    Japanese strings - Wide/Half Kana characters Conversion Library

    23
    6.5k last 90 days
  • Convert 62 decimal number tools. Integer to String and String to Integer.

    2
    6.2k last 90 days
  • rank 1.0.0

    Ordinals for numbers, e.g. 1st, 2nd, 3rd

    80
    5.9k last 90 days
  • Unicode locale-aware case folding, case mapping (upcase, downcase and titlecase) case-insensitive equality as well as word, line, grapheme and sentence breaking and streaming.

    20
    5.7k last 90 days
  • emojix 0.4.0

    Simple emoji library for Elixir. 💩

    22
    5.4k last 90 days
  • FontMetrics -- Work with font meta-data and text measurements

    1
    5.3k last 90 days
  • TrueType_Metrics -- Parse TrueType fonts and generate metrics data.

    3
    5.3k last 90 days
  • format 1.0.0

    A Simple Gleam library for formatting strings.

    0
    5.2k last 90 days
  • Library for fast decimal arithmetics

    29
    5.1k last 90 days
  • String metrics and phonetic algorithms for Elixir. Based Heavily on StringMetrics for Scala written by Rocky Madden.

    81
    4.6k last 90 days
  • Elixir counter-part for the Quill.js Delta library. It provides a baseline for Operational Transformation of rich text.

    69
    4.5k last 90 days
  • Cyrillic ukrainian to latin transliteration

    2
    4.3k last 90 days
  • Libphonenumber for Erlang

    4.3k last 90 days
  • Elixir partial version of [libphonenumber](https://github.com/googlei18n/libphonenumber) by Google

    6
    4.3k last 90 days
  • Erlang 18 random compatibility library.

    3
    3.8k last 90 days
  • Elixir library for extracting text and metadata from various document formats using the Extractous Rust library

    16
    3.4k last 90 days
  • BBCode parsing for Elixir

    3.3k last 90 days
  • casex 0.4.2

    Simple case conversion for web applications

    17
    3.2k last 90 days
  • Remove Emoji 😈🈲😱⁉️ ( 2017 version for Elixir 1.4、1.5+ )

    8
    3.2k last 90 days
  • This library provides facilities to perform approximate string matching and measurement of string similarity/distance.

    63
    3.1k last 90 days
  • Elixir version of Rails ActiveSupport::Inflector

    8
    3.0k last 90 days
  • address formatting implemetation

    1
    3.0k last 90 days
  • anagram 1.0.0

    Find anagrams of words and "words that can be made with a set of letters" (sort of a sub anagram)

    2
    2.9k last 90 days
  • bigi 4.1.1

    Arbitrary precision integer arithmetic for Gleam

    2.5k last 90 days