1.0.0 • Published 6 years ago
template-literals v1.0.0
template-literals
String templates using tagged template literals
// Create a template
const template = tag `hi, ${'name'}!`
// Render the template
template({ name: 'amsul' }) // 'hi, amsul!'
1.0.0
6 years ago