Text and Numbers

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

78 packages
  • decimal 3.1.1

    Arbitrary precision decimal arithmetic.

    478
    5.5m last 90 days
  • idna 7.1.0

    A pure Erlang IDNA implementation

    44
    4.3m last 90 days
  • unicode_util compatibility library for Erlang < 20

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

    263
    1.6m last 90 days
  • recase 0.9.1

    Convert strings to any case you need.

    237
    566.5k last 90 days
  • TextDiff returns a formatted diff between two strings.

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

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

    14
    423.6k last 90 days
  • number 1.0.5

    Convert numbers to various string formats, such as currency

    234
    386.2k last 90 days
  • slugify 1.3.1

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

    131
    379.1k last 90 days
  • ordinal 0.2.0

    Convert numbers to their ordinalized form.

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

    2
    201.0k last 90 days
  • 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).

    599
    199.3k 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
    145.9k last 90 days
  • Erlang 20 string compatibility library.

    1
    81.8k last 90 days
  • Parse user-agent strings with BrowserScope patterns

    50
    80.0k last 90 days
  • Regular expressions in Gleam!

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

    42
    69.0k last 90 days
  • unicode 2.0.0

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

    43
    69.0k last 90 days
  • abacus 2.2.0

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

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

    33
    58.3k last 90 days
  • numbers 5.2.5

    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
    57.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
    53.1k last 90 days
  • Efficiently slice prefixes from strings. Good for parsers!

    20
    51.2k last 90 days
  • justin 1.1.0

    Convert between snake_case, camelCase, and other cases in Gleam

    10
    48.2k last 90 days
  • math 0.7.0

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

    107
    38.4k 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.

    38
    37.9k 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
    36.1k last 90 days
  • Unicode to ASCII transliteration

    424
    29.9k last 90 days
  • randex 0.4.0

    A library to generate random strings that match the given Regex

    19
    28.3k last 90 days
  • Fast Stringprep Erlang / Elixir implementation

    17
    28.2k last 90 days
  • A utility to compare strings in Natural order.

    13
    26.5k last 90 days
  • phone 0.5.11

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

    109
    26.1k 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.

    22
    26.0k last 90 days
  • A fuzzy string comparison library for Elixir

    25
    24.6k last 90 days
  • exmoji 0.3.1

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

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

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

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

    29
    17.4k last 90 days
  • rank 1.1.0

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

    6
    16.2k last 90 days
  • re2 1.9.8

    Erlang NIF bindings for RE2 regex library

    75
    15.6k last 90 days
  • autumn 0.7.0

    Syntax highlighter powered by Tree-sitter and Neovim themes.

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

    25
    14.0k 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

    21
    13.3k last 90 days
  • excribe 0.1.1

    Simple text formatting utility for Elixir.

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

    19
    12.4k last 90 days
  • Erlang 18 random compatibility library.

    3
    11.3k last 90 days
  • akin 0.2.0

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

    41
    10.8k last 90 days
  • emojix 0.4.0

    Simple emoji library for Elixir. 💩

    22
    9.0k last 90 days
  • Bitwise operations on integers

    13
    8.8k 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
    8.3k last 90 days
  • String metrics and phonetic algorithms for Elixir. Based Heavily on StringMetrics for Scala written by Rocky Madden.

    82
    8.3k last 90 days
  • casex 0.4.2

    Simple case conversion for web applications

    17
    8.2k last 90 days
  • FontMetrics -- Work with font meta-data and text measurements

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

    3
    7.9k last 90 days
  • Cyrillic ukrainian to latin transliteration

    2
    7.2k last 90 days
  • Libphonenumber for Erlang

    7.0k last 90 days
  • bigi 4.1.1

    Arbitrary precision integer arithmetic for Gleam

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

    6
    6.9k last 90 days
  • npm-compatible semantic versioning — parse, match, and compare versions using npm range syntax (^, ~, x-ranges, hyphen ranges, ||).

    2
    6.7k last 90 days
  • ProseMirror document model and transforms for Elixir. Full port of prosemirror-model and prosemirror-transform with wire-format JSON compatibility for collaborative editing.

    3
    6.5k last 90 days
  • Gleam library that provides an IEEE 754 compliant float type.

    5
    6.0k last 90 days
  • Crypto currency list for Money

    5.0k last 90 days
  • Just a single module for some simple (not crypto strong) random things, e.g. RandomGib.Get.some_letters(5), RandomGib.Get.one_of(src), RandomGib.Get.some_of(src), RandomGib.Get.some_characters(100). Probably not for use in production.

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

    0
    4.6k last 90 days
  • A fuzzy string matching library

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

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

    69
    4.4k last 90 days
  • MnemonicSlugs is an Elixir library for generating memorable slugs.

    29
    4.3k last 90 days
  • mojiex 0.1.1

    Japanese strings - Wide/Half Kana characters Conversion Library

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

    63
    3.7k last 90 days
  • Library for fast decimal arithmetics

    29
    3.6k last 90 days
  • Exposes Unicode properties needed for layout and analysis.

    1
    3.2k last 90 days
  • exdiff 0.1.5

    Text difference library for Elixir

    4
    3.2k last 90 days
  • ucwidth 0.2.0

    A port of ucwidth from C to Elixir, for determining the width (full-width or half-width) of an Unicode character.

    2
    3.1k last 90 days
  • Creates random numbers and strings of arbitrary lengths. Uses preferred Erlang random module based on used OTP version.

    10
    3.1k last 90 days
  • BBCode parsing for Elixir

    3.0k last 90 days
  • A passive slugging module -- simple, transliteration-free slugs.

    1
    2.8k last 90 days