Format a string, using values from an object.
npm install format-string
var formatString = require('format-string');
var user = {
name: 'Stoeffel',
modified: new Date()
};
formatString('Hello, :name (:modified)', user); // => Hello, Stoeffel (31.12.2014)
$ format-string 'Hello, :name (:modified)' --name stoeffel --modified `date +"%m.%d.%y"`