npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

tripetto-onesdk-form-consent

v1.0.11

Published

Boilerplate for creating a custom block package for Tripetto.

Downloads

164

Readme

🙋‍♂️ The Tripetto FormBuilder SDK helps building powerful and deeply customizable forms for your application, web app, or website.

👩‍💻 Create and run forms and surveys without depending on external services.

💸 Developing a custom form solution is tedious and expensive. Instead, use Tripetto and save time and money!

🌎 Trusted and used by organizations around the globe, including Fortune 500 companies.


This SDK is the ultimate form solution for everything from basic contact forms to surveys, quizzes and more with intricate flow logic. Whether you're just adding conversational forms to your website or application, or also need visual form-building capabilities inside your app, Tripetto has got you covered! Pick what you need from the SDK with visual form builder, form runners, and countless question types – all with extensive docs. Or take things up a notch by developing your own question types or even form runner UIs.


📦 Boilerplate for creating blocks

Status Read the docs Source code Follow us on Twitter

Perhaps one of the best things about Tripetto is that you can create your own building blocks (learn more about developing custom blocks here). If you want you can publish your custom block as a package (just like we do with our stock blocks). This boilerplate shows you how to do that.

🧑‍💻 Get started

  1. Download or clone the repository to your local machine:
$ git clone https://gitlab.com/tripetto/blocks/boilerplate.git
  1. Run npm i inside the downloaded/cloned folder:
$ npm i
  1. Start the builder and load the block in developer (test) mode:
$ npm test

This command will start the local builder server and tries to open the URL http://localhost:3333 in your default browser. If no browser opens, just open the browser of your choice and navigate to this URL. By default, the form definition located at ./tests/example.json is loaded.

Next, open your favorite code editor/IDE and start working on your block. When a source code change is detected, the block should automatically recompile and the Tripetto builder in the browser should refresh.

✨ Publish your block

When your block is ready, you may want to publish it. Make sure you update the name and description in package.json before doing so. Also, set the private property to false (currently it is set to true to preserve unwanted publications).

Next, run the following command to increment the package version number, do a production build and publish the package to the npm registry.

$ npm run publish:patch

When your block is published, other people can install it and start using it inside the Tripetto form builder. All details on how to do that can be found here.

📖 Documentation

Tripetto has practical, extensive documentation. Find everything you need at tripetto.com/sdk/docs/.

🆘 Support

Run into issues or bugs? Report them here.

Need help or assistance? Please go to our support page. We're more than happy to help you.

💳 License

Have a blast. MIT.

👋 About us

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