# @palmabit/joi-max-words

> Joi extension for max words

Latest version **0.0.4** (published 2019-06-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @palmabit/joi-max-words
pnpm add @palmabit/joi-max-words
yarn add @palmabit/joi-max-words
bun add @palmabit/joi-max-words
```

## 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 | 2019-06-06 |
| First published | 2018-09-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Palmabit Srl |
| Maintainers | a.sarzina, drubetti, eliardo, francesco, neomusic, palmabit-dev |
| Keywords | schema, validation, joi, extension, words |

## Links

- npm: https://www.npmjs.com/package/@palmabit/joi-max-words
- npm.io page: https://npm.io/package/@palmabit/joi-max-words

## 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) — 2019-06-06
- 0.0.3 — 2018-09-26
- 0.0.2 — 2018-09-25
- 0.0.1 — 2018-09-25

## README

[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)

[![Build Status](https://travis-ci.org/Palmabit-IT/joi-max-words.svg?branch=master)](https://travis-ci.org/Palmabit-IT/joi-max-words)

# DEPRECATED

This is no longer supported, please use https://github.com/Palmabit-IT/joi-words-extension instead.

# Install

```js
npm install @palmabit/joi-max-words
```

# Usage

Usage is a two steps process. First, a schema is constructed using the provided types and constraints:

```js
const BaseJoi = require('joi');
const Extension = require('@palmabit/joi-max-words');
const Joi = BaseJoi.extend(Extension);

const schema = Joi.string().maxWords(500);
```

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