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

@mutt/forms

Package Overview
Dependencies
Maintainers
8
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mutt/forms

HTML Forms with a squishy face.

  • 2.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
8
Weekly downloads
 
Created
Source
Mutt

Mutt Forms

A HTML Form generator & manager

Mutt forms is a tool for creating HTML forms in Javascript from JSON Schema definitions.

It can be used as a standalone tool or as part of a larger project. Mutt is written in ES6 with a standalone version being ES5 compatible - via Babel.

Mutt forms was developed as internal tool at boughtbymany.com and is now available under the MIT license. It is heavily influenced by Django Forms/ WTForms as well as AlpacaJS and has a familiar API to these tools.

Installation

The easiest way to get started with Mutt is to install via NPM:

npm install @mutt/forms

Getting Started


import Mutt from '@mutt/forms'

let form = new Mutt({
  type: 'object',
  required: ['name', 'email'],
  properties: {
    name: {
	  type: 'string'
	},
	email: {
	  type: 'string'
	}
  }
})

form.render(document.getElementById('form'))
Browser Support & Polyfills

Mutt should work in all modern browsers. By default babel-polyfill is not included, but it should play nicely when included.

Development

All pull requests should be made against the master branch.


(c) Bought By Many 2020. Credit to Helena Long for the Mutt Logo :)

Keywords

FAQs

Package last updated on 03 Feb 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