Curly-decimals string format.

E.g. `cdfmt("Hi, {0}! Pls, {1} the {2}.")("Smith", "frobnicate", "quibplatz")` => `"Hi, Smith! Pls, frobnicate the quibplatz!"`.

Credits: https://gist.github.com/0i0/1519811

Herbert Vojčík 97d1c530be Implementation. 10 years ago
lib 97d1c530be Implementation. 10 years ago
src 97d1c530be Implementation. 10 years ago
.gitignore 1cdb2c250b npm init, .gitignore 10 years ago
README.md 0e1448fa56 initial commit 10 years ago
package.json 1cdb2c250b npm init, .gitignore 10 years ago

README.md

cdfmt

Curly-decimals string format.

E.g. cdfmt("Hi, {0}! Pls, {1} the {2}.")("Smith", "frobnicate", "quibplatz") => "Hi, Smith! Pls, frobnicate the quibplatz!".

Credits: https://gist.github.com/0i0/1519811