1.0.2 • Published 9 years ago
format-object v1.0.2
format-object 
util.formatwith object instead of argument list.
Installation
$ npm install --save format-objectUsage
const format = require('format-object');
format('Hello, :name', {name: 'Joe'});
// => 'Hello, Joe'API
formatObject(input, params)
input
Type: string
Input string.
params
Type: object
Object of params to replace.
License
MIT © Vadim Demedes