clr-format.js
0.5.0
dotnet add package clr-format.js --version 0.5.0
NuGet\Install-Package clr-format.js -Version 0.5.0
<PackageReference Include="clr-format.js" Version="0.5.0" />
paket add clr-format.js --version 0.5.0
#r "nuget: clr-format.js, 0.5.0"
// Install clr-format.js as a Cake Addin #addin nuget:?package=clr-format.js&version=0.5.0 // Install clr-format.js as a Cake Tool #tool nuget:?package=clr-format.js&version=0.5.0
The implementation of this string formatting function is inspired by .NET's (and other Microsoft® products') Composite Formatting feature. Therefore the behaviour and method signatures match what's described in the "Getting started with the String.Format method" MSDN article as closely as possible. The main difference is that method names in JavaScript are intrinsically camelcase therefore String.format should be used instead.
The project's site or the API documentation can be refered for more details at https://clr-format.github.io/clr-format/
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1. Support for all of .NET's standard and custom format specifiers for number and date objects (except for some currency specifier cases).
2. Optional globalization API contained in clr-format-intl.js that allows for culture-specific globalization formatting via the Format.setCulture and Format.setCurrency methods.
3. Optional configuration API contained in clr-format-config.js and defined under the Format.Config namespace. See https://clr-format.github.io/clr-format/modules/format.config.html