Git Product home page Git Product logo

smartformat's Introduction

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.

  • High performance with low memory footprint
  • Minimal, intuitive syntax
  • Formatting takes place exclusively at runtime
  • Exact control of whitespace text output
  • string.Format compatibility 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 Frameworks

  • .Net Framework 4.6.1 and later
  • .Net Standard 2.0
  • .Net Standard 2.1 and later for best optimizations

Get started

NuGet Install the full NuGet package -or-

NuGet Install the core NuGet package

Docs Have a look at the SmartFormat Wiki

See the changelog for changes.

License

SmartFormat is licensed under The MIT License (MIT)

The bundled project SmartFormat.ZString is Copyright © Cysharp, Inc. Their software is licensed under The MIT License (MIT). Their conversion methods under the ZString/Number directory is Copyright © .NET Foundation and Contributors und 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

smartformat's People

Contributors

axunonb avatar scottrippey avatar karljj1 avatar qstarin avatar seriousm avatar tbudurovych avatar valker avatar andersjonsson avatar dotnetchris avatar pathoschild avatar 0x15e avatar canton7 avatar lostdev avatar smithkl42 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.