Skip to content

amsul/template-literals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

template-literals

String templates using tagged template literals

// Create a template
const template = tag `hi, ${'name'}!`

// Render the template
template({ name: 'amsul' }) // 'hi, amsul!'