3.0.1 • Published 5 years ago

@eggplantio/epf-snippets v3.0.1

Weekly downloads
404
License
MIT
Repository
-
Last release
5 years ago

EGGPLANT FUNCTIONAL SNIPPETS

Library to load and generate sensetalk snippets for EPF.

Quick start

You'll need a template file of sensetalk snippets loaded into a string to begin with. Then usage of the lib is as follows:

import Template from '@eggplantio/epf-snippets'

const templateFile = '...'
const tpl = new Template(templateFile)

tpl.listSnippets()

tpl.populate('Snippet1', { param1: 'foo', param2: 'bar' })