Skip to main content
Fantomas package icon

Fantomas

This library aims at formatting F# source files based on a given configuration. Fantomas will ensure correct indentation and consistent spacing between elements in the source files. Some common use cases include: (1) Reformatting a code base to conform a universal page width (2) Converting legacy code from verbose syntax to light syntax (3) Formatting auto-generated F# signatures.

Total Downloads
3.4M
3,392,193
Published
Apr 25, 2022
Latest stable version

Install

.NET CLI
dotnet add package Fantomas --version 4.7.8
Package Manager Console
Install-Package Fantomas -Version 4.7.8
PackageReference
<PackageReference Include="Fantomas" Version="4.7.8" />

Frameworks

.NETStandard2.0

Dependencies

[41.0.3, 41.0.3]
FSharp.Core
.NETStandard2.0
[6.0.3, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.