axuno/SmartFormat
关于
一个用 C# 编写的轻量级文本模板库,可直接替代 string.Format
开发工具实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.
- High performance with low memory footprint
- Minimal, intuitive syntax
- Formatting takes place exclusively at runtime
- Exact control of whitespace text output
string.Formatcompatibility mode and SmartFormat enhanced mode- Most common data sources work out-of-the-box
- Many built-in formatting extensions
- Custom formatting and source extensions are easy to integrate
Supported Target Frameworks
- .Net Framework 4.6.2 and later
- .Net Standard 2.0, .Net Standard 2.1
- .Net 6.0 or .Net 8.0
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
Install the full NuGet package -or-
Install the core NuGet package
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.
探索相关项目
加载中…