# formate

> Form worker

Latest version **1.0.0** (published 2019-02-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install formate
pnpm add formate
yarn add formate
bun add formate
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-02-15 |
| First published | 2019-02-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 108 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Pavel Ivanov |
| Maintainers | grammka |
| Keywords | form, formjs, vanilla, reactive |

## Links

- npm: https://www.npmjs.com/package/formate
- Repository: https://github.com/pavelivanov/formx
- Homepage: https://github.com/pavelivanov/formx#readme
- Issues: https://github.com/pavelivanov/formx/issues
- npm.io page: https://npm.io/package/formate

## Dependencies (1)

- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ~7.2.0

## 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

- 1.0.0 (latest) — 2019-02-15

## README

# formx

- [x] Pass initial values in options
- [x] Set initial values
- [x] Validate form
- [x] Validate one field
- [x] Group forms to one container (group)
- [x] Validate forms group
- [x] Async validation
- [x] Validate field on blur
- [x] Validate field on each change if it has been already validated
- [x] Validate field on each change if form was submitted
- [ ] 'isChanged' on field, form, forms group
- [ ] Get forms group state (values, isChanged, etc)
- [ ] Set state to forms group
- [ ] Reset form to default state, options, etc
- [ ] Add option to `setValues()` to allow set values without validation each field
- [ ] Checkbox and Radio support (boolean checked, value)
- [ ] Memo for async validators (decorator)
- [ ] Option for validation debounce timeout

### To run examples

```
npx babel-node examples/validate-form.js
```

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