npm.io
10.12.0 • Published 3 years ago

@balena/jellyfish-plugin-typeform

Licence
AGPL-3.0
Version
10.12.0
Deps
4
Size
74 kB
Vulns
0
Weekly
0
Stars
1
DeprecatedThis package is deprecated

Jellyfish Typeform Plugin

Provides a sync integration and a channel for working with user feedback from Typeform.

Usage

Below is an example how to use this library:

import { typeformPlugin } from '@balena/jellyfish-plugin-typeform';
import { PluginManager } from '@balena/jellyfish-worker';

// Load contracts from this plugin
const pluginManager = new PluginManager([
	typeformPlugin(),
]);
const contracts = pluginManager.getCards();
console.dir(contracts);

Documentation

Visit the website for complete documentation: https://product-os.github.io/jellyfish-plugin-typeform

Testing

Unit tests can be easily run with the command npm test.

You can run integration tests locally against Postgres and Redis instances running in docker-compose:

npm run compose
REDIS_HOST=localhost POSTGRES_HOST=localhost npm run test:integration

You can also access these Postgres and Redis instances:

PGPASSWORD=docker psql -hlocalhost -Udocker
redis-cli -h localhost