{"_id":"2valid","_rev":"22-3f3c8fc2c513dd5d8ac008d61eeb10d6","name":"2valid","description":"JavaScript simple data validator","dist-tags":{"latest":"3.1.1"},"versions":{"2.0.1":{"name":"2valid","version":"2.0.1","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"8d7391491d303cd7b776b69d561964fa94ad66d7","_id":"2valid@2.0.1","_shasum":"b8362324f7d04f87ee6b524c63c4929a3088bfb5","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"b8362324f7d04f87ee6b524c63c4929a3088bfb5","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.0.1.tgz","integrity":"sha512-I0XdiAk8nQ0+rjN4KbBDvIXLSTwpIkd+JrEckeBQPqI2AVpapZga39zECa9xfZIjrXX7Md3iZ8yERk9E7oFXyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID8sfgPdsCGwdrQbgS4jg8ZkkL3Nl7lRMOk7GnqhQP3EAiACiESL4MOo3gRhJMKMV04nJp4s4rIyRTf9S8R11yRb8Q=="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/2valid-2.0.1.tgz_1472042018629_0.9510077943559736"}},"2.0.2":{"name":"2valid","version":"2.0.2","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"6ed0bd5624acbb81d4986c14a5dca718cb15d18c","_id":"2valid@2.0.2","_shasum":"2016b20524b37ded0c530083bbae5da704b4c54e","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"2016b20524b37ded0c530083bbae5da704b4c54e","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.0.2.tgz","integrity":"sha512-yaCWhO3CMAws6xERQ//K06KJXRBoTSk1GzO2Agacw8YE/C0vRD0gKWMX92BjhJFk7l2PaPKwBcLagNUBBZqMWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDImHgVjetks+OeasiRmPStqfHp0YTdw1oAdx2K+cHPKAiAvNuZsIAaZlc7+d12w5xipMt+WJhKijG842nv2VHjpiQ=="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/2valid-2.0.2.tgz_1472059996875_0.8663279691245407"}},"2.1.1":{"name":"2valid","version":"2.1.1","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"ecd61d13205504c2a8623d91f5c679537edf1e08","_id":"2valid@2.1.1","_shasum":"cb7d104bf0f379530cf3c34addadff4a957b1885","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"cb7d104bf0f379530cf3c34addadff4a957b1885","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.1.1.tgz","integrity":"sha512-G05YubNAZGDZmvvcxP14auI0zzv2MfeGH5GFe2qOUUTny4emNkJtdp/osATMnPBxsfAPL2tFPcpdwgDAu0kN+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHhd67uG50POvUVqaulp6ZuMglNpoELulyhJ6vQHQLGYAiBkPxxIjCDLTgyY7/VMrFsDoscNShRfXEYZ9wBVLgbF5g=="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/2valid-2.1.1.tgz_1472159107607_0.6816276910249144"}},"2.1.2":{"name":"2valid","version":"2.1.2","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"75962a583890ff168bda400488acdd0ed6638ceb","_id":"2valid@2.1.2","_shasum":"0768e8a27242fed048ca26dba98e66dcc6ae04ec","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"0768e8a27242fed048ca26dba98e66dcc6ae04ec","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.1.2.tgz","integrity":"sha512-XmDTSoU4YVZou+iViB5q2wFFA7zh31SFWK4oqqFKt5mrLIynt0zBun2qr6OjBRpLx0jPJ8ru8m5ce1n/lEPjXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0Cr5xw/sx9n0rt9Y47DfWx0I5fRdeHXNZ6wTVYHlCxAIgF+/Gqpv85cox0nKp30TZQgrVc6fNCmVuNsD/PBWbC4g="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/2valid-2.1.2.tgz_1472159739279_0.6517411817330867"}},"2.1.3":{"name":"2valid","version":"2.1.3","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"a0b2a70556b4ae3207a133a37ad5911fd801717a","_id":"2valid@2.1.3","_shasum":"be0d1e6d744da0c825452df01b5d8a145492c6c0","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"be0d1e6d744da0c825452df01b5d8a145492c6c0","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.1.3.tgz","integrity":"sha512-fIQ1Q1e6Kn4HX2FHuUexmB3b9ekWTDIBKi966sCqmKFb1r5HncKrF0OIYr5YFD7kGhkCmvRl1VicS96FShdkeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBHWfmtiJKA69kmTg3JVb/eUDQ7wrjsxexuonxixoeVCAiEA/n2OItwJmcD5ujqnL2paBQzJoioW9qkAIWReItRzd58="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/2valid-2.1.3.tgz_1474543176521_0.49081525253131986"}},"2.1.4":{"name":"2valid","version":"2.1.4","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"2c0d0935c7809b7fc59170ded4e816ff5239d9ce","_id":"2valid@2.1.4","_shasum":"a8a72a74cffe8062cc3ccb79e950602b7179013a","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"a8a72a74cffe8062cc3ccb79e950602b7179013a","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.1.4.tgz","integrity":"sha512-j4kr52Bi6WU+b1eifiNiOQq8UUh6RL9ACHwJpVnWu0uIytno1j+xMRFoV7dw5sgAiq58JFgnXhXp//FoB7MxXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5PHKW/4kaZyZBfvqrtgu11MM60JphNKfXyYmDajAAbwIgXa0W5ICgH3I4AohzzyZPUS76fYscqt5hgZLcMqi+mHA="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2valid-2.1.4.tgz_1477309560482_0.5445712457876652"}},"2.2.1":{"name":"2valid","version":"2.2.1","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"e9ff8f092bf1816495f203e4068e0d07434b0539","_id":"2valid@2.2.1","_shasum":"9dc7c41a3fadcd1a7d71222ed9aef19c10edbf37","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"9dc7c41a3fadcd1a7d71222ed9aef19c10edbf37","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.2.1.tgz","integrity":"sha512-TkFsUl2vQjphN5SMV/NTvPAQncqgSqa8/nQXghYaE5xPye8Rlrw6PelBSoXn3iva+ft7pKMz8pOlQBOY8In8sQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwlr8a0r+FUSvx+hipU/K1sAq/udW8XR3Zwnz4o3vD/QIhAPjRhlvxwA5yHLabN0DN4vcsfezRFCLkR+omH4q7PbCJ"}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2valid-2.2.1.tgz_1485355815644_0.39763178746216"}},"2.2.2":{"name":"2valid","version":"2.2.2","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"coveralls":"^2.11.15","istanbul":"^0.4.5","chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"528b519ef1692376ab282137aef01d2cca891f4f","_id":"2valid@2.2.2","_shasum":"44f3fdbb7ee378b94c5ea916fe065e5eccdb2ba2","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"44f3fdbb7ee378b94c5ea916fe065e5eccdb2ba2","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.2.2.tgz","integrity":"sha512-tdFPpnoCd6TAV6E0g171Aqz+upCcYYFZKJWr9gf00D0npjBiC7s037S0+YsSIbzFWfSf0iDgs8Cvtbw43IAJMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcmLCzI3Aktv2CcYa1SPN9cU4juU2yiDc9eHf4X7uxxwIhAJiiUuofOwvLuw9TLd77Ia4w+6gLiTD9z+dAm27YYjzI"}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/2valid-2.2.2.tgz_1485451501159_0.8289364851079881"}},"2.2.3":{"name":"2valid","version":"2.2.3","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"coveralls":"^2.11.15","istanbul":"^0.4.5","chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"63602e3f7699ac06f95f7fda9fde49f781efadf1","_id":"2valid@2.2.3","_shasum":"f478e214f4c6dfd88f86ee1d71e9b946d1f8c2ac","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"f478e214f4c6dfd88f86ee1d71e9b946d1f8c2ac","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.2.3.tgz","integrity":"sha512-S9YXURSzJRePdXZI5G62VjkdgSC7VRvHAfAZy3wS1WG992Gf9xIR6+EpTN4z84Lrn+JtZb7wAAIzivkkpuFPEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXnmCaM7XjgiB8FajxjW3KWQs8FkKJZma2g8Bz8fk+IgIhAPpF362/wcnE9FQ7QyTga5amM40vb8gphiB+p1TmEhtv"}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/2valid-2.2.3.tgz_1485786872484_0.8395963655784726"}},"2.2.4":{"name":"2valid","version":"2.2.4","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"coveralls":"^2.11.15","istanbul":"^0.4.5","chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"2baef33e9b2f3db7d41f0de8f8f39a3d296f78e2","_id":"2valid@2.2.4","_shasum":"80c0f0e4bc6a8d3f13783778c296fddea9df6858","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"80c0f0e4bc6a8d3f13783778c296fddea9df6858","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.2.4.tgz","integrity":"sha512-olo/3QU33bCGNGEtZtrifBDbpOUNVMQYjEB+uto/yif02/Bd8Y1cgeaJTuAxhOkQl2zk7wV76w9WHpWSoY0ldg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGX0nYzyOZhmM2wh3BI5RbIUVvTs2Iyf96rhWl+BufjTAiEAs9QCfOG+GzJCBJClF+HhZxxpYiLldM0lOfrbityftYY="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2valid-2.2.4.tgz_1487018368178_0.38105821632780135"}},"2.3.1":{"name":"2valid","version":"2.3.1","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"coveralls":"^2.11.15","istanbul":"^0.4.5","chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"d856766365e0b0f20a307f933ba39feb5c8d868e","_id":"2valid@2.3.1","_shasum":"531fdab17b583324aa923d6ce46129d78c2c0c72","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"531fdab17b583324aa923d6ce46129d78c2c0c72","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.3.1.tgz","integrity":"sha512-rmM3FJVdO9c1IkJJremeEhe6Ii1gQRVsOWPEoh3LrvVCrlwAKIUAp5Y07ws+phMAT56dpOHRedWTcoVwkTiFQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBYNj6oWRaKFOiy3sRnqjl/N+7NMiBf/VOJ4wlAetyQCAiA8QvbaQUvxl0eprpR9VVfBkjLr8gbObWomu+hsq+3yeg=="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2valid-2.3.1.tgz_1487755005129_0.36877228296361864"}},"2.3.2":{"name":"2valid","version":"2.3.2","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"coveralls":"^2.11.15","istanbul":"^0.4.5","chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"f2ffbb83a44364e47d67afd0d8522dcc267a3f61","_id":"2valid@2.3.2","_shasum":"60d311fef9485657dd01afa436edacdcec594a13","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"60d311fef9485657dd01afa436edacdcec594a13","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.3.2.tgz","integrity":"sha512-7x+nxQyuHo+S/n3oJx1HBPSy98/PeYzieFt2LcKkUg1YzmQppXeV5uV7CgOIMz6UA0j/3u9kAyrx5eNJnrdWNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAkr33G1rHGen7mRCU1LwxDNBRwAx9R+VTkVhtgTkIj5AiEAgC8/+3KpynTPwMOCas8aOjA52EaVKqj5QnGFpPrD+HM="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2valid-2.3.2.tgz_1488798075023_0.39367969520390034"}},"2.4.1":{"name":"2valid","version":"2.4.1","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"coveralls":"^2.11.15","istanbul":"^0.4.5","chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"57e8ffbc27db5d8f7cd988263db13c4ad554e843","_id":"2valid@2.4.1","_shasum":"b864672c7c2bf14cd196db02568b151364f46c86","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"shasum":"b864672c7c2bf14cd196db02568b151364f46c86","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.4.1.tgz","integrity":"sha512-Ucn2GH9hTJI/pGm2bw5jrWYiaJYp0rRdu0W8VaZWJTJOvuvpO0nIOBWQ4Ov0TBcv9v9MHa/ILcfz9Ogvj96ACA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDShy92SvmfzafHnJyboMqvsm0mPDxlgOnMvXIIWRKR4QIhANh8h0Fcjp7YRv0hVnyLmviIXs5qNVFSMb9JxMxrYLSt"}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/2valid-2.4.1.tgz_1491297811356_0.9351032203994691"}},"2.5.1":{"name":"2valid","version":"2.5.1","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"coveralls":"^2.11.15","istanbul":"^0.4.5","chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"d29b3ce602599e8b784644b0907f1c954d8f0979","_id":"2valid@2.5.1","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"integrity":"sha512-jGPmmFzyeoz2l8QKVtk1PcDTti8RXr+/gS3Y+QEBf2xOGx8IlczFxYSukgJMlzzApIyR4MO9OoeoN2rMYG8AJw==","shasum":"b585cde7d429690e3b4db22b7d278ec95702a2f6","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.5.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB4D2PE6+orOKo+kV9Wz/zJ4zMigewfqdh77HVuBTSIbAiAj9NuaQJiwdzT/IWQ4fr0HX359a4GtaCNipUa/bPMmJA=="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2valid-2.5.1.tgz_1498310571631_0.2919528221245855"}},"2.5.2":{"name":"2valid","version":"2.5.2","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"coveralls":"^2.11.15","istanbul":"^0.4.5","chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"ef8b5fbcacdda54644345868e7baa137bc69609a","_id":"2valid@2.5.2","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"integrity":"sha512-HRq5NTXaJMo037WW3Ggz0kGLOuFI81hw73OgKvMN96CGCZRaA+ACdiO6IsN8hB6k8tlV5SDmM48q6EZO5aFLvw==","shasum":"4701ca9f22876fdf6a2d3684132e9d5fa9cf65ab","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.5.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHVtdhlH4bI2/P6F2Ky8TE+worx0NCrVG0QK41fpzIl+AiEA3x6IseKfyYji+/As5aR19ixUgQSBHfPIWnv8cznkk9A="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2valid-2.5.2.tgz_1498649556043_0.16747803916223347"}},"2.5.3":{"name":"2valid","version":"2.5.3","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"coveralls":"^2.11.15","istanbul":"^0.4.5","chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"55ef7a015989858db22212fbae5b22c6bc1df63b","_id":"2valid@2.5.3","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"integrity":"sha512-kbFCP/ea0rJbA7kQAN9fhQihDH4FnHKqGZ/nc8REYqtNInrEsPh5M1HUdtIe9tM5re8jfwvFbbrpcjFtcmbUCw==","shasum":"fa203279b6a921b44cdfbd44d42c019f0babcb53","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.5.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE9TTPJ2ez5EvOIAnyhuTiGgJ7n8mTOq4X8ZP7oG/uc/AiBdmmX8Z3ELnnufsN8aTf5YOHOC8FNizOjV1kbnOss0Vg=="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2valid-2.5.3.tgz_1498650648296_0.47601009299978614"}},"2.5.4":{"name":"2valid","version":"2.5.4","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"coveralls":"^2.11.15","istanbul":"^0.4.5","chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"fa353c3a89d411f943f465e0df23f3f30096cef7","_id":"2valid@2.5.4","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"integrity":"sha512-rfs/ijVrkH6s76UoA65z0L5MWi+EMeoABKVEAP7mhj2HUD40nqBVlKOk+KcL0ZtFm240b9IqawXRRTEtes76Pg==","shasum":"d43f4295693ced64a5e4b0dc8ed8b8304ddb2e18","tarball":"https://registry.npmjs.org/2valid/-/2valid-2.5.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5v2kWeZMQx2mNs416U1KCNEufj/0jEReRo9PN/FXSbAIhAMHj3HHnwxjWCVeoFWTKp+nrtcuYzlNPXKQT/q5Y3SXZ"}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2valid-2.5.4.tgz_1502535949919_0.3412376861087978"}},"3.1.1":{"name":"2valid","version":"3.1.1","description":"JavaScript simple data validator","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"keywords":["validate","validator","data","stucture","model","json"],"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"licenses":[{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"homepage":"https://github.com/ivanoff/validate-me","devDependencies":{"coveralls":"^2.11.15","istanbul":"^0.4.5","chai":"^3.3.0","mocha":"^2.3.3"},"gitHead":"5e4ca51db33876fb42badd944629f0f011d3f478","_id":"2valid@3.1.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"ivanoff","email":"2@ivanoff.org.ua"},"dist":{"integrity":"sha512-5Z3YBr+8Od+s/xBO3QQpZ+lD3dZas/sF2LeAxsjf3Zns1x2fPA0eJrOqeehTnV0U+dWo+lmtmih60EoscuqrUQ==","shasum":"77d11d3233e8cd4b2c18480f49912269b3a432e5","tarball":"https://registry.npmjs.org/2valid/-/2valid-3.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHxHnF9WVzmV0tCbDoXGyl4NFhA7Iw+NVbl+G4PfuliAiBxIzvJ7iWwgEvtebfBPjr4TzvDu5wnYvmgtlKmJntDxQ=="}]},"maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2valid-3.1.1.tgz_1509482964095_0.38848135177977383"}}},"readme":"\n[![NPM version][npm-version-image]][npm-url]\n[![NPM downloads][npm-downloads-image]][npm-url]\n[![MIT License][license-image]][license-url]\n[![js-standard-style][standard-style-image]][standard-style-url]\n[![Build Status: Linux][travis-image]][travis-url]\n[![Build Status: Windows][appveyor-image]][appveyor-url]\n[![Coverage Status][coveralls-image]][coveralls-url]\n\n\n# 2valid\n\n### JavaScript simple data validator\n\n v3.1.1\n\n\n## Installation\n```npm install --save 2valid```\n\n\n## Usage ( simple example )\n\nCheck for integer\n\n```javascript\nvar v = require('2valid');\n// valid? true/false\nconsole.log( v.valid('integer', 111) ); // true\nconsole.log( v.valid('integer', 'aaa') ); // false\n\n// check, what was wrong\nconsole.log( v.check('integer', 111) ); // null\nconsole.log( v.check('integer', 'aaa') ); // { notMatched: 'integer' }\n```\n\n## Usage ( node.js password validator )\n\nCheck for password. Minimum 4 chars, at least one caps and one small letter, digit and special\n\n```javascript\nvar v = require('2valid');\nconsole.log( v.valid('password', '!A1e') ); // true\nconsole.log( v.valid('password', 'As1eRR') ); // false\nconsole.log( v.check('password', 'As1eRR') ); // { notMatched: 'password' }\n```\n\nGet examples\n\n```javascript\nvar v = require('2valid');\nvar example = v.getExample('email');\nconsole.log( example ); // news@site.com\nconsole.log( v.valid('email', example) ); // true (email is valid)\nconsole.log( v.check('email', example) ); // null (check why email is not valid)\n```\n\n## Available types\n\n| type | description |\n|------|-------------|\n| string | string |\n| integer | integer number |\n| float | float number |\n| boolean | boolean |\n| array | array type |\n| date | date methods |\n| email | simple e-mail |\n| password | password, minimum 4 chars, at least one caps and one small letter, digit and special |\n| md5 | MD5 string |\n| uuid | UUID string |\n| any | any of elements of array |\n\n\n## Results\n\nIf check passed, then result is ```null```.\n\nOtherwise check result is object with these keys:\n\n- ```notMatched``` [object] - which key does not match which type\n- ```notRequired``` [array of string] - list of keys are not in model\n- ```notFound``` [array of string] - which keys in model are not found in checked object\n- ```text``` [string] - simple description of all errors\n\nFor example:\n\n```\n{ notMatched: { '.id': 'integer' },\n  text: 'Field .id not matched with type integer. Field .secondName not required. Field .name not found',\n  notRequired: [ '.secondName' ],\n  notFound: [ '.name' ] }\n```\n\n\n## Usage\n\n\n### Simple async mode\n\nCheck if integer\n\n```javascript\nvar v = require('2valid');\n\nv.check( 'integer', 111, function(err) {\n  console.log(err); //null\n});\n\nv.check( 'integer', '61cecfb4-da43-4b65-aaa0-f1c3be81ec53', function(err) {\n  console.log(err); // { notMatched: 'integer' }\n});\n```\n\n### With simple model\n\nCheck if valid to simple object with integer ```id``` and string ```name```\n\n```javascript\nvar vm = require('./index');\n\nvar userModel = {\n  id: {type: 'integer'},\n  name: {type: 'string', required: true}\n};\n\nvm.check( userModel,\n  { id: 123, secondName: 'Max Validator' },\n  function(err) {\n    console.log(err); // null\n  }\n);\n```\n\n### Full error stack\n\nValidation failed with all types of errors\n\n```javascript\nvar vm = require('./index');\n\nvar userModel = {\n  id: {type: 'integer'},\n  name: {type: 'string', required: true}\n};\n\nvm.check( userModel,\n  { id: 'Max', secondName: 'Validator' },\n  function(err) {\n    console.log(err);\n  }\n);\n```\n\nResult\n```\n{ notMatched: { '.id': 'integer' },\n  text: 'Field .id not matched with type integer. Field .secondName not required. Field .name not found',\n  notRequired: [ '.secondName' ],\n  notFound: [ '.name' ] }\n```\n\n\n### With register model\n\nRregister ```user``` model to check validation by model name\n\n```javascript\nvar v = require('2valid');\n\n// register model 'user' to check integer 'id' and string 'name'\nv.registerModel('user', {\n  id: {type: 'integer'},\n  name: {type: 'string'}\n});\n\n// object to check\nvar userObject = {id: 123, name: 'Alex Validates'}\n\n// check if object is valid sync\nvar valid = v.check('user', userObject);\nconsole.log(valid.text || 'object is valid');\n\n// check if object is valid with callback\nv.check('user', userObject, function(err) {\n  console.log(err || 'object is valid');\n});\n```\n\nResult\n\n```object is valid```\n\n\n### Nested object validator\n\nValidate ```name.first``` and ```name.second```\n\n```javascript\nvar v = require('2valid');\n\n// property 'name' of 'user' model must have 'first' (required) and 'last' keys.\nv.registerModel('user', {\n    name: {\n        first : { type: 'string', required: true },\n        last  : { type: 'string' },\n    }\n});\n\n// {}\nconsole.log(v.check('user', {name: {first: 'Alex', last: 'Validator'}}));\nconsole.log(v.check('user', {name: {first: 'Marry'}}));\n\n// { notFound: [ '.id', '.name.first' ],\n//   text: 'Field .id not found in registered model. Field .name.first not found in registered model' }\nconsole.log(v.check('user', {id: 123}));\n\n// { notFound: [ '.name.first' ], text: 'Field .name.first not found in registered model' }\nconsole.log(v.check('user', {name: {last: 'Alex'}}));\n```\n\n\n### Regex validator\n\nOnly 'cyan', 'magenta', 'yellow' or 'key' can passed in ```cmyk``` model to validate\n\n```javascript\nvar v = require('2valid');\n\n// property 'name' of 'cmyk' model must be 'cyan', 'magenta', 'yellow' or 'key' value\nv.registerModel('cmyk', {name: { type: 'string', match : /^cyan|magenta|yellow|key$/i }});\n\n// {}\nconsole.log(v.check('cmyk', {name: 'Magenta'}));\n\n// { notMatched: { '.name': 'string' }, text: 'Field .name not matched with type string' }\nconsole.log(v.check('cmyk', {name: 'black'}));\nconsole.log(v.check('cmyk', {name: 123}));\n```\n\n\n### Any validator\n\nOnly 'cyan', 'magenta', 'yellow' or 'key' can passed in ```cmyk``` model to validate\n\n```javascript\nvar v = require('2valid');\n\nconsole.log(v.check('any', 'yellow', {one: ['cyan', 'magenta', 'yellow', 'key']})); //passed\nconsole.log(v.check('any', 123, {one: ['cyan', 'magenta', 'yellow', 'key']})); //{ notMatched: 'any' }\n```\n\n\n### Required keys validator\n\nCheck if field is required\n\n```javascript\nvar v = require('2valid');\n\n// property “id” required and must be uuid\nv.registerModel('user', {id: { type: 'uuid', required: true }});\n\n// {}\nconsole.log(v.check('user', {id: '61cecfb4-da43-4b65-aaa0-f1c3be81ec53'}));\n\n// { notMatched: { '.id': 'uuid' }, text: 'Field .id not matched with type uuid' }\nconsole.log(v.check('user', {id: 123}));\n\n// { notFound: [ '.name', '.id' ],\n//   text: 'Field .name not found in registered model. Field .id not found in registered model' }\nconsole.log(v.check('user', {name: 'Alex'}));\n```\n\n\n### Length checking validator\n\nChecking for fixed length of the string\n\n```javascript\nvar v = require('2valid');\n\n// property “name” must be exacly 2 chars length\nv.registerModel('ISO 3166-2', {name: { type: 'string', min: 2, max: 2 }});\n\n// {}\nconsole.log(v.check('ISO 3166-2', {name: 'US'}));\n\n// { notMatched: { '.name': 'string' }, text: 'Field .name not matched with type string' }\nconsole.log(v.check('ISO 3166-2', {name: 123}));\nconsole.log(v.check('ISO 3166-2', {name: 'USA'}));\nconsole.log(v.check('ISO 3166-2', {name: 'U'}));\n```\n\n\n## Add type\nYou can add new type to validate in to types.js.\n*'check' method is required to check new inserted type.*\n\nFor example, new type 'password'. It type must contains minimum 4 chars: at least one lower and one upper case, digit and special chars.\nAdd code below to types.js in list property:\n```javascript\npassword : {\n    min   : 4,         // string.min Minimum length of the string\n    max   : Infinity,  // string.max Maximum length of the string\n    check : function( password ){   // check password type and size\n        if ( ( typeof string === 'string' || string instanceof String )\n                && string.length >= this.min\n                && string.length <= this.max\n                && string.match(/((?=.*\\\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[\\W]).+)/)\n        )\n            return true\n        else\n            return false;\n    }\n}\n```\n\n\n## Tests\n\n  npm test\n\n\n## Module description\n### Methods and properties of 2valid\n- valid( modelName, entity ) - validate model modelName with entity. Return true if validate is ok. Otherwise, return false.\n- check( modelName, entity [, callback] ) - validate model modelName with entity. Return empty object if validate is ok. As callback, return error as first argument.\n- registerModel( modelName, modelObject ) - register model modelName with modelObject to check\n- registeredModels - list of registered models\n- showModelsFull() - show full information of registered model\n- dispose() - remove all registered modelNames\n\n\n## Register model\nFor register model you need to use registerModel method.\n\n```javascript\nv.registerModel( 'user', {\n  id:   { type: 'uuid', required: true }, // property “id” must be uuid\n  name: { type: 'string', min: 4, max: 128, required: true }, // property “name” must be String and contain 4-128\n  password: { type: 'password', max: 128, required: true }, // property “password” must be String and contain 4-128 chars:\n});\n```\n\n\n## Validate object\n\n```javascript\nv.check( 'user', { id : '61cecfb4-da33-4b15-aa10-f1c6be81ec53', name : 'Validator', password : 'A1z!' })\n```\n\n\n## Exceptions\n\n- Name is undefined\n```javascript\nmyLibrary.registerModel( 'Name', { id: { type: 'uuid', required: true } } );\n```\n\n- Model in 'modelName' is undefined\n```javascript\nmyLibrary.registerModel( 'modelName', NaN );\n```\n\n- Model 'modelName' is already registered\n```javascript\nmyLibrary.registerModel( 'modelName', { id: { type: 'uuid', min: 1, max: 5, required: true } } );\nmyLibrary.registerModel( 'modelName', { id: { type: 'name' } } );\n```\n\n- No field 'name' in key 'name' in model 'modelName'\n```javascript\nmyLibrary.consoleTrueOrError ( myLibrary.check( 'modelName', { name  : 'Alex Validates' }) );\n```\n\n- No type field exception\n```javascript\nmyLibrary.registerModel( 'name_exception', { date: { parameter: 'date' } } );\n```\n\n- No guid type exception\n```javascript\nmyLibrary.registerModel( 'name_exception', { id: { type: 'guid' } } );\n```\n\n\n## Release History\n\n* 0.1.0 Initial release\n* 0.2.0 Fix nested required object error\n* 0.2.2 Update errors handles\n* 0.2.4 Add match ability to string\n* 0.2.10 Split number to integer and float, add password type\n* 0.2.12 Validate md5 hash\n* 0.3.2 Change quotes in messages\n* 0.4.1 Replace result with notFound, notMatched and text keys\n* 2.0.1 Rename project to 2valid\n* 2.2.1 Add boolean and array types\n* 2.2.2 Add examples\n* 3.0.1 Add check function instead of depricateded validate\n\n\n## Created by\n\nDimitry, 2@ivanoff.org.ua\n\n```curl -A cv ivanoff.org.ua```\n\n\n[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat\n[license-url]: LICENSE\n\n[standard-style-image]: https://img.shields.io/badge/code%20style-airbnb-blue.svg?style=flat\n[standard-style-url]: https://github.com/airbnb/javascript\n\n[npm-url]: https://npmjs.org/package/2valid\n[npm-version-image]: http://img.shields.io/npm/v/2valid.svg?style=flat\n[npm-downloads-image]: http://img.shields.io/npm/dm/2valid.svg?style=flat\n\n[travis-url]: https://travis-ci.org/ivanoff/2valid\n[travis-image]: https://travis-ci.org/ivanoff/2valid.svg?branch=master\n\n[appveyor-url]: https://ci.appveyor.com/project/ivanoff/2valid/branch/master\n[appveyor-image]: https://ci.appveyor.com/api/projects/status/lp3nhnam1eyyqh33/branch/master?svg=true\n\n[coveralls-url]: https://coveralls.io/github/ivanoff/2valid\n[coveralls-image]: https://coveralls.io/repos/github/ivanoff/2valid/badge.svg\n","maintainers":[{"name":"ivanoff","email":"2@ivanoff.org.ua"}],"time":{"modified":"2022-06-12T14:07:04.946Z","created":"2016-08-24T12:33:41.179Z","2.0.1":"2016-08-24T12:33:41.179Z","2.0.2":"2016-08-24T17:33:18.565Z","2.1.1":"2016-08-25T21:05:08.230Z","2.1.2":"2016-08-25T21:15:41.441Z","2.1.3":"2016-09-22T11:19:38.325Z","2.1.4":"2016-10-24T11:46:02.203Z","2.2.1":"2017-01-25T14:50:16.312Z","2.2.2":"2017-01-26T17:25:03.309Z","2.2.3":"2017-01-30T14:34:34.167Z","2.2.4":"2017-02-13T20:39:28.798Z","2.3.1":"2017-02-22T09:16:45.781Z","2.3.2":"2017-03-06T11:01:15.695Z","2.4.1":"2017-04-04T09:23:32.146Z","2.5.1":"2017-06-24T13:22:52.720Z","2.5.2":"2017-06-28T11:32:37.141Z","2.5.3":"2017-06-28T11:50:49.252Z","2.5.4":"2017-08-12T11:05:50.888Z","3.1.1":"2017-10-31T20:49:25.179Z"},"homepage":"https://github.com/ivanoff/validate-me","keywords":["validate","validator","data","stucture","model","json"],"repository":{"type":"git","url":"git+https://github.com/ivanoff/2valid.git"},"author":{"name":"Dimitry Ivanov","email":"2@ivanoff.org.ua","url":"http://ivanoff.org.ua/"},"bugs":{"url":"https://github.com/ivanoff/validate-me/issues"},"readmeFilename":"README.md","users":{"ivanoff":true}}