An almost feature complete Javascript implementation of the sprintf standard c function