🍺 BREW Explorer

← all formulae

elm-format

brew install elm-format v0.8.8 BSD-3-Clause

Elm source code formatter, inspired by gofmt

8
30-day installs · #9124
27
90-day · #8954
289
365-day · #6416
1.3k
★ GitHub stars · updated 1y ago

Runtime dependencies

gmp

Build dependencies

GitHub topics

code-style elm formatter

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "cabal-install",
    "ghc",
    "hpack"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "gmp"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Elm source code formatter, inspired by gofmt",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:18+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "elm-format",
  "github_default_branch": "main",
  "github_last_commit_at": "2025-06-19T02:56:33Z",
  "github_readme_excerpt": "[![Build Status](https://travis-ci.org/avh4/elm-format.svg?branch=master)](https://travis-ci.org/avh4/elm-format)\n[![latest version: 0.8.7](https://img.shields.io/badge/version-0.8.7-orange.svg)](https://github.com/avh4/elm-format/releases/tag/0.8.7)\n\n# elm-format\n\n`elm-format` formats [Elm](https://elm-lang.org) source code\naccording to a standard set of rules based on [the official Elm Style Guide](https://elm-lang.org/docs/style-guide).\nIt is inspired by the popular [gofmt](https://blog.golang.org/go-fmt-your-code).\n\nThe benefits of `elm-format`:\n - It makes code **easier to write**, because you never have to worry about minor formatting concerns while powering out new code.\n - It makes code **easier to read**, because there are no longer distracting minor stylistic differences between different code bases. As such, your brain can map more efficiently from source to mental model.\n - It makes code **easier to maintain**, because you can no longer have diffs related only to formatting; every diff necessarily involves a material change.\n - It **saves your team time** debating how to format things, because there is a standard tool that formats everything the same way.\n - It **saves you time** because you don\u0027t have to nitpick over formatting details of your code.\n\n\n## Usage\n\n```bash\nelm-format .  # Format all *.elm files in the current directory\nelm-format Main.elm  # Format a single file\nelm-format Main.elm --yes  # Overwrite the file without prompting\nelm-format src/ Main.elm  # Format the listed files and directories\nelm-format --help  # See other command line options\n```\n\n\n## Installation [![(latest version: 0.8.7)](https://img.shields.io/badge/version-0.8.7-orange.svg)](https://github.com/avh4/elm-format/releases/tag/0.8.7)\n\nTo install `elm-format`:\n\n```sh\nnpm install -g elm-format\n```\n\nor download the version appropriate for your OS from the [release page](https://github.com/avh4/elm-format/releases/tag/0.8.7),\nunzip it,\nand place `elm-format` or `elm-format.ex",
  "github_repo": "avh4/elm-format",
  "github_stars": 1331,
  "github_topics": [
    "code-style",
    "elm",
    "formatter"
  ],
  "homepage": "https://github.com/avh4/elm-format",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 8,
  "installs_365d": 289,
  "installs_90d": 27,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-3-Clause",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "elm-format",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 9124,
  "rank_365d": 6416,
  "rank_90d": 8954,
  "raw_hash": "eb91b330e1a69302",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/e/elm-format.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "libffi"
  ],
  "version_head": "HEAD",
  "version_stable": "0.8.8",
  "versioned_formulae": [],
  "why_use_this": null
}