Text and Numbers

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

82 packages
  • unicode_util compatibility library for Erlang < 20

    10
    5.2m last 90 days
  • idna 6.1.1

    A pure Erlang IDNA implementation

    44
    5.1m last 90 days
  • decimal 2.3.0

    Arbitrary precision decimal arithmetic.

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

    264
    1.1m last 90 days
  • recase 0.9.0

    Convert strings to any case you need.

    232
    778.5k last 90 days
  • number 1.0.5

    Convert numbers to various string formats, such as currency

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

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

    14
    658.7k last 90 days
  • ordinal 0.2.0

    Convert numbers to their ordinalized form.

    12
    528.8k last 90 days
  • slugify 1.3.1

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

    126
    436.8k 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`

    90
    252.0k last 90 days
  • ex_money 5.21.0

    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).

    586
    188.7k last 90 days
  • TextDiff returns a formatted diff between two strings.

    5
    177.0k last 90 days
  • Parse user-agent strings with BrowserScope patterns

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

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

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

    33
    91.2k last 90 days
  • autumn 0.5.0

    Syntax highlighter powered by Tree-sitter and Neovim themes.

    86
    66.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
    65.5k last 90 days
  • abacus 2.1.0

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

    97
    64.5k last 90 days
  • unicode 1.20.0

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

    41
    63.2k 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, ???)!

    40
    62.4k last 90 days
  • A utility to compare strings in Natural order.

    13
    62.3k last 90 days
  • phone 0.5.11

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

    106
    60.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.

    41
    60.2k last 90 days
  • Regular expressions in Gleam!

    8
    59.8k last 90 days
  • re2 1.9.8

    Erlang NIF bindings for RE2 regex library

    77
    55.9k last 90 days
  • Erlang 20 string compatibility library.

    1
    53.1k last 90 days
  • Unicode to ASCII transliteration

    333
    49.5k last 90 days
  • exmoji 0.3.1

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

    106
    47.0k last 90 days
  • math 0.7.0

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

    104
    46.5k last 90 days
  • randex 0.4.0

    A library to generate random strings that match the given Regex

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

    17
    41.8k 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
    32.2k last 90 days
  • General text utility library to help with string manipulation not found in the standard Elixir library.

    24
    31.0k last 90 days
  • justin 1.0.1

    Convert between snake_case, camelCase, and other cases in Gleam

    10
    29.1k 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
    27.1k last 90 days
  • Functions to introspect the Unicode character database and to provide fast codepoint lookups and guards.

    41
    26.1k last 90 days
  • ReadingTime helps you estimate how long some text will take to be read.

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

    28
    25.0k last 90 days
  • A fuzzy string comparison library for Elixir

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

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

    68
    15.2k last 90 days
  • mojiex 0.1.1

    Japanese strings - Wide/Half Kana characters Conversion Library

    23
    14.6k last 90 days
  • Bitwise operations on integers

    10
    13.8k last 90 days
  • akin 0.2.0

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

    37
    11.5k 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.

    21
    10.7k last 90 days
  • FontMetrics -- Work with font meta-data and text measurements

    1
    10.7k last 90 days
  • excribe 0.1.1

    Simple text formatting utility for Elixir.

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

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

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

    9
    9.3k last 90 days
  • casex 0.4.2

    Simple case conversion for web applications

    16
    8.6k last 90 days
  • Libphonenumber for Erlang

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

    6
    7.8k last 90 days
  • Cyrillic ukrainian to latin transliteration

    2
    7.6k last 90 days
  • emojix 0.4.0

    Simple emoji library for Elixir. 💩

    22
    7.4k 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
    7.2k last 90 days
  • This library provides facilities to perform approximate string matching and measurement of string similarity/distance.

    62
    7.1k last 90 days
  • rank 1.0.0

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

    68
    7.0k last 90 days
  • Library for fast decimal arithmetics

    27
    6.4k last 90 days
  • MnemonicSlugs is an Elixir library for generating memorable slugs.

    29
    6.4k 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
    6.0k last 90 days
  • BBCode parsing for Elixir

    -
    5.6k last 90 days
  • peach 0.2.0

    an elixir library to generate potential fuzzy matches

    3
    5.3k last 90 days
  • Erlang 18 random compatibility library.

    3
    4.4k last 90 days
  • hexate 0.6.1

    A simple module for working with hex strings in Elixir.

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

    10
    4.0k last 90 days
  • exdiff 0.1.5

    Text difference library for Elixir

    4
    3.5k last 90 days
  • Elixir version of Rails ActiveSupport::Inflector

    8
    3.4k last 90 days
  • Full Name Splitter is a library to split a full name simply into first and last name.

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

    1
    2.6k last 90 days
  • numero 0.5.0

    A micro library for converting non-english digits.

    8
    2.6k last 90 days
  • seqfuzz 0.2.0

    Sublime Text-like sequential fuzzy string matching for Elixir.

    13
    2.5k last 90 days
  • AutoLinker is a basic package for turning website names into links.

    16
    2.3k last 90 days
  • Convert numbers to various string formats, such as currency

    18
    2.3k last 90 days
  • emote 0.1.1

    Small lib for converting emoticons and emoji names to emoji characters or images, incl. custom emoji

    0
    2.2k last 90 days
  • ex_clsx 1.0.0

    An utility module to concatenate strings fragments, filtering falsey values. Inspired to https://github.com/lukeed/clsx, it is useful to produce class names for components that depend on component attributes.

    2
    2.2k last 90 days
  • Logic for writing NLdoc Spec to Tiptap format.

    -
    1.9k last 90 days
  • textual 0.1.1

    Textual transformation and analysis

    2
    1.9k last 90 days
  • A fuzzy string matching library

    4
    1.8k last 90 days
  • mangler 0.2.0

    A collection of utilities to validate and transform strings with diacritics, unicode and ascii.

    0
    1.8k last 90 days