squirrellyjs / squirrelly

Semi-embedded JS template engine that supports helpers, filters, partials, and template inheritance. 4KB minzipped, written in TypeScript ⛺
https://squirrelly.js.org
MIT License
634 stars 83 forks source link

check that options.varName is a valid JS identifier #262

Closed samuzora closed 3 months ago

samuzora commented 3 months ago

Add a filter to check that options.varName is a valid JS identifier

nebrelbug commented 3 months ago

Looks good, thanks!

nebrelbug commented 3 months ago

Released in https://github.com/squirrellyjs/squirrelly/releases/tag/v9.1.0