Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pratique-template

Replace template character

template, string, template-string, krishnan, replace, json-string, Replace template character

readme

pratique-template

🚀 Replace template character

Quickly understand:

const render = require('pratique-template/string')

render(`I'm {{name}}, a {{privateInfo.age}} old`, {
  name: 'krishnan', 
  privateInfo:{ age: 18 }
}) // 'I'm krishnan, a 18 old'