axuno / SmartFormat

A lightweight text templating library written in C# which can be a drop-in replacement for string.Format
Other
1.1k stars 105 forks source link
formatter localization netframework netstandard pluralization smartformat string-composition string-format
Logo

GitHub release License: MIT AppVeyor build status windows AppVeyor build status linux

AppVeyor tests codecov Quality Gate Status

Paypal-Donations

SmartFormat is a is a lightweight text templating library written in C# which can be a drop-in replacement for string.Format. More than that SmartFormat can format data with named placeholders, lists, localization, pluralization and other smart extensions.

Supported Target Frameworks

For the best optimizations and performance, use .NET 6.0 or .NET 8.0. You can expect a nice improvement in speed compared to .NET Framework 4.6.2.

Get started

NuGet Install the full NuGet package -or-

NuGet Install the core NuGet package

Docs Have a look at the SmartFormat Wiki

License

SmartFormat is licensed under The MIT License (MIT)

Thanks!

We would like to thank JetBrains for supporting the project with free licenses of their fantastic tools.

JetBrains