Minimal Templates Replace all :keys in string with given object. Install npm i -S mnml-tpl Examples var tpl = require('mnml-tpl'); var locals = { host: 'world', user: 'hello' }; var template = 'ssh :user@:host'; tpl(template)(locals); // ssh hello@world License MIT