This package has been deprecated

Author message:

We moved all Tripetto packages to the '@tripetto' organization. Please use 'npm i @tripetto/studio' instead. Full documentation available at: https://tripetto.com/sdk/docs/

tripetto-services
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

Tripetto

Tripetto is a full-fledged form kit. Rapidly build and run smart flowing forms and surveys. Drop the kit in your codebase and use all of it or just the parts you need. The visual builder is for form building, and the runners are for running those forms in different UI variants. It is entirely extendible and customizable. Anyone can build their own building blocks (e.g., question types) or runner UI's.

Services package

Version License Downloads Pipeline status Join the community on Spectrum Follow us on Twitter

The services package handles communications between the runner and the Tripetto Studio if you choose to host the form definition or collected data – or both – at Tripetto. It contains helpers for the implementation on your end of the form definition and collected data store at the Tripetto platform.

Get started

To use the library in your project you should install the Tripetto Services package as a dependency using the following command:

$ npm install tripetto-services --save

Example

The following example uses the tripetto-runner-autoscroll package for the runner and uses the services package to store form results in the Tripetto Studio.

import { run } from "tripetto-runner-autoscroll";
import Services from "tripetto-services";

const { definition, onSubmit } = Services.init({
    token: "a-valid-tripetto-token"
});

run({
    element: document.body,
    definition,
    onSubmit
});

Documentation

The complete Tripetto documentation can be found at docs.tripetto.com.

Support

Run into issues or bugs? Report them here and we'll look into them.

For general support contact us at support@tripetto.com. We're more than happy to assist you.

About us

If you want to learn more about Tripetto or contribute in any way, visit us at Tripetto.com.

Readme

Keywords

none

Package Sidebar

Install

npm i tripetto-services

Weekly Downloads

249

Version

2.1.1

License

MIT

Unpacked Size

145 kB

Total Files

5

Last publish

Collaborators

  • jurgenvandenbrink
  • markvandenbrink
  • martinvandehoef