Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

async-validate

Package Overview
Dependencies
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-validate - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

doc/readme.md

49

package.json
{
"name": "async-validate",
"description": "Asynchronous validation for node and the browser",
"version": "1.0.0",
"version": "1.0.1",
"author": "muji <noop@xpm.io>",

@@ -16,3 +16,4 @@ "license": "MIT",

"valid",
"object"
"object",
"type"
],

@@ -34,3 +35,3 @@ "dependencies": {

"docs": "npm run example && npm run readme",
"readme": "mdp --force -v",
"readme": "mk readme",
"example": "mdp --force -v -i doc/example.json -o EXAMPLE.md",

@@ -43,45 +44,3 @@ "browser": "browserify -o async-validate.js -e ./lib/schema.js && du -bh async-validate.js",

"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"mdp": {
"title": "Async Validate",
"pedantic": true,
"include": "doc/readme",
"require": "lib",
"links": "links.md",
"toc": "Table of Contents",
"base": "https://github.com/tmpfs/async-validate",
"partial": [
{
"inc": [
"introduction.md",
"install.md",
"usage.md"
]
},
{
"inc": "../usage.js",
"type": "code",
"language": "javascript"
},
{
"inc": [
"guide.md",
"messages.md",
"transform.md"
]
},
{
"inc": "../transform.js",
"type": "code",
"language": "javascript"
},
{
"inc": [
"api.md",
"developer.md",
"license.md"
]
}
]
}
}

@@ -1,89 +0,39 @@

Table of Contents
=================
## Async Validate
* [Async Validate](#async-validate)
* [Install](#install)
* [Usage](#usage)
* [Guide](#guide)
* [Descriptor](#descriptor)
* [Object Definition](#object-definition)
* [Array Definition](#array-definition)
* [Function Definition](#function-definition)
* [Composite Definition](#composite-definition)
* [Rules](#rules)
* [Inline Rule](#inline-rule)
* [Assigned Rule](#assigned-rule)
* [Plugin Rule](#plugin-rule)
* [Multiple Rules](#multiple-rules)
* [Deep Rules](#deep-rules)
* [Properties](#properties)
* [Type Identifier](#type-identifier)
* [Enumerable](#enumerable)
* [Date Format](#date-format)
* [Message](#message)
* [Required](#required)
* [Additional](#additional)
* [Fields](#fields)
* [Pattern](#pattern)
* [Placeholder](#placeholder)
* [Range](#range)
* [Length](#length)
* [Values](#values)
* [Match](#match)
* [Resolve](#resolve)
* [Test](#test)
* [Whitespace](#whitespace)
* [Errors](#errors)
* [Plugins](#plugins)
* [Loading Plugins](#loading-plugins)
* [Creating Plugins](#creating-plugins)
* [Helper Plugins](#helper-plugins)
* [pattern](#pattern)
* [range](#range)
* [required](#required)
* [type](#type)
* [Validation](#validation)
* [Bail](#bail)
* [Variables](#variables)
* [State](#state)
* [Messages](#messages)
* [Transform](#transform)
* [API](#api)
* [Schema](#schema)
* [messages](#messages)
* [validate](#validate)
* [Schema.plugin](#schemaplugin)
* [Schema.clone](#schemaclone)
* [Rule](#rule)
* [isRoot](#isroot)
* [reason](#reason)
* [raise](#raise)
* [format](#format)
* [validates](#validates)
* [diff](#diff)
* [Error](#error)
* [Reason](#reason)
* [Developer](#developer)
* [Test](#test-1)
* [Spec](#spec)
* [Cover](#cover)
* [Lint](#lint)
* [Browser](#browser)
* [Clean](#clean)
* [Docs](#docs)
* [Example](#example)
* [Readme](#readme)
* [License](#license)
[![Build Status](https://travis-ci.org/tmpfs/async-validate.svg)](https://travis-ci.org/tmpfs/async-validate)
[![npm version](http://img.shields.io/npm/v/async-validate.svg)](https://npmjs.org/package/async-validate)
[![Coverage Status](https://coveralls.io/repos/tmpfs/async-validate/badge.svg?branch=master&service=github&v=1)](https://coveralls.io/github/tmpfs/async-validate?branch=master)
Async Validate
==============
Asynchronous validation for [node](http://nodejs.org) and the browser. It has minimal dependencies and uses a plugin architecture so you only need to include the plugins for types you want to validate and can easily create your own validation plugins.
[<img src="https://travis-ci.org/tmpfs/async-validate.svg" alt="Build Status">](https://travis-ci.org/tmpfs/async-validate)
[<img src="http://img.shields.io/npm/v/async-validate.svg" alt="npm version">](https://npmjs.org/package/async-validate)
[<img src="https://coveralls.io/repos/tmpfs/async-validate/badge.svg?branch=master&service=github&v=1" alt="Coverage Status">](https://coveralls.io/github/tmpfs/async-validate?branch=master).
Examples are in [EXAMPLE](https://github.com/tmpfs/async-validate/blob/master/EXAMPLE.md) and the [example directory](https://github.com/tmpfs/async-validate/blob/master/doc/example).
Asynchronous validation for [node](http://nodejs.org) and the browser.
---
Examples are in [EXAMPLE](https://github.com/tmpfs/async-validate/blob/master/EXAMPLE.md) and the [example directory](https://github.com/tmpfs/async-validate/blob/master/doc/example).
- [Async Validate](#async-validate)
- [Install](#install)
- [Usage](#usage)
- [Guide](#guide)
- [Descriptor](#descriptor)
- [Rules](#rules)
- [Errors](#errors)
- [Plugins](#plugins)
- [Validation](#validation)
- [Messages](#messages)
- [Transform](#transform)
- [API](#api)
- [Developer](#developer)
- [Test](#test)
- [Spec](#spec)
- [Cover](#cover)
- [Lint](#lint)
- [Browser](#browser)
- [Clean](#clean)
- [Docs](#docs)
- [Example](#example)
- [Readme](#readme)
- [License](#license)
---
## Install

@@ -565,3 +515,3 @@

See [zephyr](https://github.com/tmpfs/zephyr) for plugin system documentation.
See [zephyr][] for plugin system documentation.

@@ -945,3 +895,3 @@ #### Loading Plugins

Clone the repository, install project and global dependencies ([mdp](https://github.com/tmpfs/mdp), [jshint](http://jshint.com) and [jscs](http://jscs.info)):
Clone the repository, install project and global dependencies ([mdp][], [jshint][] and [jscs][]):

@@ -978,3 +928,3 @@ ```

Run the source tree through [jshint](http://jshint.com) and [jscs](http://jscs.info):
Run the source tree through [jshint][] and [jscs][]:

@@ -987,3 +937,3 @@ ```

Create a standalone [browserify](http://browserify.org/) build:
Create a standalone [browserify][] build:

@@ -1012,6 +962,6 @@ ```

Generate [EXAMPLE](https://github.com/tmpfs/async-validate/blob/master/EXAMPLE.md) (requires [mdp](https://github.com/tmpfs/mdp)):
Generate [EXAMPLE](https://github.com/tmpfs/async-validate/blob/master/EXAMPLE.md) (requires [mdp][]):
```
npm run example
npm run example
```

@@ -1021,3 +971,3 @@

Generate the readme file (requires [mdp](https://github.com/tmpfs/mdp)):
Generate the readme file (requires [mdp][]):

@@ -1032,4 +982,6 @@ ```

Generated by [mdp(1)](https://github.com/tmpfs/mdp).
---
Created by [mkdoc](https://github.com/mkdoc/mkdoc) on February 27, 2017
[node]: http://nodejs.org

@@ -1042,1 +994,2 @@ [npm]: http://www.npmjs.org

[zephyr]: https://github.com/tmpfs/zephyr
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc