@sterensoftware/sniplates
v0.3.0
Published
Helper library enabling programatic usage of variable-based TextMate snippets.
Downloads
2
Readme
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
.