pratique-template

1.2.0 • Public • Published

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'

Package Sidebar

Install

npm i pratique-template

Weekly Downloads

1

Version

1.2.0

License

ISC

Unpacked Size

91.7 kB

Total Files

6

Last publish

Collaborators

  • krishnan-npm