util.formatwith object instead of argument list.
$ npm install --save format-object
const format = require('format-object');
format('Hello, :name', {name: 'Joe'});
// => 'Hello, Joe'
Type: string
Input string.
Type: object
Object of params to replace.
MIT © Vadim Demedes