clr-format.js 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

Install-Package clr-format.js -Version 0.5.0
dotnet add package clr-format.js --version 0.5.0
<PackageReference Include="clr-format.js" Version="0.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add clr-format.js --version 0.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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


This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.5.0 596 9/23/2015
0.4.1 401 9/16/2015
0.4.0 354 9/12/2015
0.3.3 349 9/1/2015
0.3.2 352 8/29/2015
0.3.1 353 8/28/2015
0.3.0 351 8/28/2015
0.2.0 374 8/21/2015
0.1.3 344 8/3/2015
0.1.2 374 7/16/2015