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,387,655
Published
Jul 7, 2018
Latest stable version

Install

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

Frameworks

.NETFramework4.5 .NETStandard2.0

Dependencies

FSharp.Compiler.Service
.NETFramework4.5
[23.0.3, )
[23.0.3, )

Adoption guide

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

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 target frameworks; 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.