@eggplantio/epf-snippets

3.0.1 • Public • Published

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' })

Package Sidebar

Install

npm i @eggplantio/epf-snippets

Weekly Downloads

472

Version

3.0.1

License

MIT

Unpacked Size

672 kB

Total Files

56

Last publish

Collaborators

  • mgaye
  • ianhighet
  • artur.chamier.eggplant
  • malcolmsmithuk
  • robertdumitrescu
  • imueto
  • martin.dann
  • jsphstls
  • nonsoike
  • camiejoombs