@palmabit/joi-max-words
Joi extension for max words
Last updated a year ago by palmabit-dev .
MIT · Original npm · Tarball · package.json
$ cnpm install @palmabit/joi-max-words 
SYNC missed versions from official npm registry.

No Maintenance Intended

Build Status

DEPRECATED

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

Install

npm install @palmabit/joi-max-words

Usage

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

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

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

Current Tags

  • 0.0.4                                ...           latest (a year ago)

4 Versions

  • 0.0.4                                ...           a year ago
  • 0.0.3 [deprecated]           ...           2 years ago
  • 0.0.2 [deprecated]           ...           2 years ago
  • 0.0.1 [deprecated]           ...           2 years ago
Downloads
Today 1
This Week 1
This Month 2
Last Day 0
Last Week 1
Last Month 1
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |