deepvalidate

0.0.4 • Public • Published

#Deep Validate

Given two objects, check that the data given in the first object is present in the second object.

Also checks that the types of the two values are the same.

##Usage:

  validate('objects', obj1, obj2, function(obj1, obj2, key, failure, name) {
    console.log(obj1[key]);
  })

Readme

Keywords

none

Package Sidebar

Install

npm i deepvalidate

Weekly Downloads

2

Version

0.0.4

License

BSD-2-Clause

Last publish

Collaborators

  • simonmcmanus