# @mutt/forms

> HTML Forms with a squishy face.

Latest version **2.5.0** (published 2020-11-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mutt/forms
pnpm add @mutt/forms
yarn add @mutt/forms
bun add @mutt/forms
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.5.0 |
| Published | 2020-11-30 |
| First published | 2019-04-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 285.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Nick Snell |
| Maintainers | denis.gruba-bbm, sugarbits, batornator, alexrussell, purepear, andyflynn-bbm, muttbot, ant_p, guyf, shaunkrd, samhicks1985, andypattendenbbm, nicksnell |
| Keywords | mutt-forms, forms, htmlforms, form, mutt |

## Links

- npm: https://www.npmjs.com/package/@mutt/forms
- Repository: https://github.com/mutt-forms/mutt-forms
- Issues: https://github.com/mutt-forms/mutt-forms/issues
- npm.io page: https://npm.io/package/@mutt/forms

## Dependencies (1)

- [deepmerge](https://npm.io/package/deepmerge.md) ^2.2.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.5.0 (latest) — 2020-11-30
- 2.4.0 — 2020-10-26
- 2.3.1 — 2020-06-02
- 2.3.0 — 2020-02-03
- 2.2.1 — 2019-11-15
- 2.0.2 — 2019-10-10
- 2.0.1 — 2019-07-11
- 2.0.0 — 2019-04-29

## README

<img src="https://raw.githubusercontent.com/mutt-forms/mutt-forms/master/docs/mutt.svg?sanitize=true" alt="Mutt" width="275">

# Mutt Forms

> A HTML Form generator & manager

<img src="https://travis-ci.org/mutt-forms/mutt-forms.svg?branch=master">

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](https://boughtbymany.com) and is now available under the
MIT license. It is heavily influenced by [Django Forms](https://docs.djangoproject.com/en/1.10/topics/forms/)/
[WTForms](http://wtforms.readthedocs.io/en/latest/) as well as [AlpacaJS](http://www.alpacajs.org/) 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

```javascript

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 :)

---
_Source: https://npm.io/package/@mutt/forms · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
