0.3.0 • Published 2 years ago
@sterensoftware/sniplates v0.3.0
Sniplates
Helper library enabling programatic usage of variable-based TextMate snippets.
Installation
npm install --save @sterensoftware/sniplatesAvailable 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.