Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@formium/client

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formium/client

Autogenerate IDs to facilitate WAI-ARIA and server rendering.

  • 0.0.18
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@formium/client

The is the browser and node SDK for Formium, a new form storage and processing service. In a browser, this package allows you to send form submissions and upload files to your Formium Forms through the Formium REST API. In Node.js, you will be able to access your forms and their schemas.

This reference documents every object and method available in Formium's browser-side JavaScript library.

Prerequisites

This package requires an active Formium account, project, and a form. You can sign up for free at https://dashboard.formium.io/signup. Free accounts allow for 100 monthly submissions, 10 active forms, and 100MB of total file storage.

Introduction

Formium is a new service that helps you easily store form submissions and trigger automated no-code workflows without writing any backend code. You can send thank you emails, Slack notifications, webhooks and more whenever you receive a new submission. This package allows you to directly send data to the Formium Forms API. It is completely framework agnostic and has zero dependencies.

Note: that JavaScript is not required to use Formium Forms, you can always send form submissions with just plain HTML.

Installation

You can install Formium with NPM, Yarn, or a good ol' <script> via unpkg.com.

NPM

npm install @formium/client --save

or

yarn add @formium/client

CDN

If you're not using a module bundler or package manager we also have a global ("UMD") build hosted on the unpkg.com CDN. Simply add the following <script> tag to the bottom of your HTML file:

<script src="https://unpkg.com/@formium/client/dist/client.umd.production.min.js"></script>

Once you've added this you will have access to the window.formiumClient.<Insert_Function_Name_Here> variables.

Usage

import { createClient } from "@formium/client";

const client = createClient("YOUR_PROJECT_ID");

client.submitForm("YOUR_FORM_SLUG", { hello: "world" });

FAQs

Package last updated on 28 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc