# redux-form_validate

> validation library for Redux Form with joi

Latest version **0.0.4** (published 2017-05-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install redux-form_validate
pnpm add redux-form_validate
yarn add redux-form_validate
bun add redux-form_validate
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2017-05-19 |
| First published | 2017-05-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=7.5.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Johaneto |
| Maintainers | johaneto |
| Keywords | joi, joi-browser, validation, redux form |

## Links

- npm: https://www.npmjs.com/package/redux-form_validate
- Repository: https://github.com/johanetox/redux-form_validate
- Homepage: https://github.com/johanetox/redux-form_validate#readme
- Issues: https://github.com/johanetox/redux-form_validate/issues
- npm.io page: https://npm.io/package/redux-form_validate

## Dependencies (1)

- [project-name](https://npm.io/package/project-name.md) *

## Alternatives

- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads

## Recent versions

- 0.0.4 (latest) — 2017-05-19
- 0.0.3 — 2017-05-18
- 0.0.1 — 2017-05-18

## README

[![Build Status](https://travis-ci.org/johanetox/redux-form_validate.svg?branch=master)](https://travis-ci.org/johanetox/redux-form_validate)

[![Coverage Status](https://coveralls.io/repos/github/johanetox/redux-form_validate/badge.svg?branch=master)](https://coveralls.io/github/johanetox/redux-form_validate?branch=master)

Redux Form Validate
=========

A small library for redux form to validate with joi-browser
It basicaly recieve the `object` and a `schema` and return a new object with errors.

## Installation

  `npm install @johanetox/redux-form_validate`

## Usage

    var Joi = require('joi-browser');
    var Validator = require('@johanetox/redux-form_validate');
    var validate = new Validator();


    // create a schema
    var schema = Joi.object().keys({
      name: Joi.string().required()
    });


    // validate it
    validate.validateInput({name: ''}, schema)

  Output should be `{ name: '"name" is not allowed to be empty' }`
  else if it is valid output should be an empty object



## Tests

  `npm test`

## Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

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