Skip to content

Commit b56a9d0

Browse files
committed
index
1 parent b8d706a commit b56a9d0

File tree

1 file changed

+38
-14
lines changed

1 file changed

+38
-14
lines changed

README.md

Lines changed: 38 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,45 @@ Request field validator for expressjs
1818
<!-- **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* -->
1919

2020
- [Installation](#installation)
21-
- [Dependencies](#dependencies)
2221
- [How To Use](#how-to-use)
23-
- [validator arguments](#validator-arguments)
24-
- [validator Object](#validator-object)
25-
- [Nested Objets](#nested-objets)
26-
- [Response object](#response-object)
27-
- [Mode](#mode)
28-
- [Reject](#reject)
29-
- [Forward](#forward)
30-
- [debug](#debug)
31-
- [checkService](#checkservice)
32-
- [Usage](#usage)
33-
- [skipService](#skipservice)
34-
- [Arguments](#arguments)
35-
- [Usage](#usage-1)
22+
- [Getting Started](#getting-started)
23+
- [Defining a Field](#defining-a-field)
24+
- [Available Options](#available-options)
25+
- [isRequired()](#isrequired)
26+
- [isArray()](#isarray)
27+
- [isObject()](#isobject)
28+
- [isNumber()](#isnumber)
29+
- [isEmail()](#isemail)
30+
- [isBoolean()](#isboolean)
31+
- [isDate()](#isdate)
32+
- [dateFormat(format)](#dateformatformat)
33+
- [minimumNumber(min)](#minimumnumbermin)
34+
- [maximumNumber(max)](#maximumnumbermax)
35+
- [minimumLength(min)](#minimumlengthmin)
36+
- [maximumLength(max)](#maximumlengthmax)
37+
- [shouldInclude(inclues)](#shouldincludeinclues)
38+
- [shouldExclude(excludes)](#shouldexcludeexcludes)
39+
- [isMobileNumberWithCountryCode(countryCode)](#ismobilenumberwithcountrycodecountrycode)
40+
- [isMobileNumberWithCountryCodeMandatory()](#ismobilenumberwithcountrycodemandatory)
41+
- [isMobileNumberWithMinimumLength(min)](#ismobilenumberwithminimumlengthmin)
42+
- [isMobileNumberWithMaximumLength(max)](#ismobilenumberwithmaximumlengthmax)
43+
- [addChild(child)](#addchildchild)
44+
- [addChildren(children)](#addchildrenchildren)
45+
- [sendErrorMessage(message)](#senderrormessagemessage)
46+
- [end() :bangbang::bangbang: Mandatory](#end-bangbangbangbang-mandatory)
47+
- [Creating a validation middleware](#creating-a-validation-middleware)
48+
- [Available Options](#available-options-1)
49+
- [isToBeRejected()](#istoberejected)
50+
- [isToBeForwarded()](#istobeforwarded)
51+
- [checkService](#checkservice)
52+
- [skipService](#skipservice)
53+
- [sendErrorCode(errorCode)](#senderrorcodeerrorcode)
54+
- [debug(isDebugEnabled)](#debugisdebugenabled)
55+
- [addParams(paramList)](#addparamsparamlist)
56+
- [done() :bangbang::bangbang: Mandatory](#done-bangbangbangbang-mandatory)
57+
- [Dealing with nested objects](#dealing-with-nested-objects)
58+
- [Request body](#request-body)
59+
- [Validation](#validation)
3660

3761
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
3862

0 commit comments

Comments
 (0)