0.3.0 • Published 20 days ago
@sterensoftware/sniplates v0.3.0
Sniplates
Helper library enabling programatic usage of variable-based TextMate snippets.
Installation
npm install --save @sterensoftware/sniplates
Available named imports
loadSnippetTemplates
await loadSnippetTemplates(<file path(s)>)
loadSnippetTemplates
will resolve with an object with a render
method, as well as access to any raw templates
and snippets
.