{"_id":"preconditions","_rev":"4659450","name":"preconditions","description":"Support for Precondition error checking in Node.js.","dist-tags":{"latest":"3.0.2"},"maintainers":[{"name":"corybill","email":""}],"time":{"modified":"2026-04-10T21:48:33.000Z","created":"2014-05-31T22:10:25.247Z","3.0.2":"2021-11-22T18:19:08.503Z","3.0.1":"2021-11-22T15:19:20.555Z","3.0.0":"2021-10-07T18:23:33.037Z","2.2.3":"2019-02-14T18:27:48.375Z","2.2.2":"2019-02-14T18:15:23.677Z","2.2.1":"2018-05-25T18:36:30.476Z","2.2.0":"2016-07-14T18:59:18.693Z","2.1.1":"2016-05-15T12:14:30.601Z","2.1.0":"2016-05-15T02:38:32.221Z","2.0.8":"2016-04-03T16:52:57.816Z","2.0.7":"2016-03-30T13:42:09.218Z","2.0.6":"2016-03-30T13:34:29.046Z","2.0.5":"2016-03-19T03:02:19.347Z","2.0.4":"2016-03-19T02:28:38.944Z","2.0.3":"2016-03-18T01:16:05.719Z","2.0.2":"2016-03-18T01:10:53.323Z","2.0.1":"2016-03-17T20:40:23.005Z","2.0.0":"2016-03-17T19:01:29.826Z","1.0.8":"2014-10-29T00:02:08.948Z","1.0.7":"2014-06-03T04:15:09.415Z","1.0.6":"2014-06-03T03:58:29.113Z","1.0.5":"2014-06-03T03:52:59.145Z","1.0.4":"2014-06-02T12:33:47.460Z","1.0.3":"2014-06-02T12:19:15.445Z","1.0.2":"2014-06-01T05:47:06.571Z","1.0.1":"2014-06-01T05:45:38.234Z","1.0.0":"2014-06-01T05:41:37.874Z","0.0.2":"2014-06-01T05:34:04.095Z","0.0.1":"2014-05-31T22:10:25.247Z"},"users":{},"author":{"name":"Cory Parrish"},"repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"versions":{"3.0.2":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"3.0.2","description":"Support for Precondition error checking in Node.js.","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/mocha/bin/_mocha ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["StriveNine","Strive9","preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"dependencies":{"core-util-is":"1.x","errr":"2.x"},"devDependencies":{"chai":"3.x","chance":"1.x","eslint":"7.x","jsdoc-to-markdown":"7.x","maddox":"2.x","mocha":"9.x"},"gitHead":"e357c14200253314923df67a015913badae58474","_id":"preconditions@3.0.2","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"de3f7311d48ba98374f6955148ddbfbb51f28a76","size":23033,"noattachment":false,"key":"/preconditions/-/preconditions-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-3.0.2.tgz"},"_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"directories":{},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preconditions_3.0.2_1637605148310_0.7677051491287665"},"_hasShrinkwrap":false,"publish_time":1637605148503,"_cnpm_publish_time":1637605148503,"_cnpmcore_publish_time":"2021-12-16T19:20:07.090Z"},"3.0.1":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"3.0.1","description":"Support for Precondition error checking in Node.js.","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/mocha/bin/_mocha ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["StriveNine","Strive9","preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"dependencies":{"core-util-is":"1.x","errr":"2.x"},"devDependencies":{"chai":"3.x","chance":"1.x","eslint":"7.x","jsdoc-to-markdown":"7.x","maddox":"2.x","mocha":"9.x"},"gitHead":"30102c7f46a4b3aed11124cd338f1f58dd24a10e","_id":"preconditions@3.0.1","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"ac87136623618962450d76b03de9745a204a0206","size":23023,"noattachment":false,"key":"/preconditions/-/preconditions-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-3.0.1.tgz"},"_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"directories":{},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preconditions_3.0.1_1637594360430_0.19620313151024926"},"_hasShrinkwrap":false,"publish_time":1637594360555,"_cnpm_publish_time":1637594360555,"_cnpmcore_publish_time":"2021-12-16T19:20:07.407Z"},"3.0.0":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"3.0.0","description":"Support for Precondition error checking in Node.js.","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/mocha/bin/_mocha ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["StriveNine","Strive9","preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"dependencies":{"core-util-is":"1.x","errr":"2.x"},"devDependencies":{"chai":"3.x","chance":"1.x","eslint":"7.x","jsdoc-to-markdown":"7.x","maddox":"2.x","mocha":"9.x"},"gitHead":"d39afdb69a6a5e7caa02f1b8c667f0a8682f030e","_id":"preconditions@3.0.0","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"08515d6694cafc6456a72f5d156338a2e82e7a4f","size":22997,"noattachment":false,"key":"/preconditions/-/preconditions-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-3.0.0.tgz"},"_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"directories":{},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preconditions_3.0.0_1633631012883_0.04123645616641469"},"_hasShrinkwrap":false,"publish_time":1633631013037,"_cnpm_publish_time":1633631013037,"_cnpmcore_publish_time":"2021-12-16T19:20:07.669Z"},"2.2.3":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.2.3","description":"Support for Precondition error checking in Node.js","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/mocha/bin/_mocha ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["StriveNine","Strive9","preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"devDependencies":{"chai":"3.x","chance":"1.x","eslint":"5.x","jsdoc-to-markdown":"4.x","maddox":"2.x","mocha":"5.x"},"dependencies":{"errr":"2.x","lodash":"4.x"},"gitHead":"c61aa109b5abed7cfcd84fbefc285835b8cb3da5","_id":"preconditions@2.2.3","_nodeVersion":"9.5.0","_npmVersion":"6.8.0","dist":{"shasum":"f3a8238e7b91ed2db8a3be20c8b187b61f7c4068","size":23241,"noattachment":false,"key":"/preconditions/-/preconditions-2.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.2.3.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preconditions_2.2.3_1550168868018_0.0015154085998989597"},"_hasShrinkwrap":false,"publish_time":1550168868375,"_cnpm_publish_time":1550168868375,"_cnpmcore_publish_time":"2021-12-16T19:20:08.156Z"},"2.2.2":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.2.2","description":"Support for Precondition error checking in Node.js","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/mocha/bin/_mocha ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["StriveNine","Strive9","preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"devDependencies":{"chai":"3.x","chance":"1.x","eslint":"5.x","jsdoc-to-markdown":"4.x","maddox":"2.x","mocha":"5.x"},"dependencies":{"errr":"2.x","lodash":"4.x"},"gitHead":"34a6646d41c45404f532491f28fb836216960de0","_id":"preconditions@2.2.2","_nodeVersion":"9.5.0","_npmVersion":"6.8.0","dist":{"shasum":"70fedcd85da0c0c935b5c032528b39847374ea67","size":23240,"noattachment":false,"key":"/preconditions/-/preconditions-2.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.2.2.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preconditions_2.2.2_1550168123501_0.1408661470632484"},"_hasShrinkwrap":false,"publish_time":1550168123677,"_cnpm_publish_time":1550168123677,"_cnpmcore_publish_time":"2021-12-16T19:20:08.417Z"},"2.2.1":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.2.1","description":"Support for Precondition error checking in Node.js","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/mocha/bin/_mocha ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["StriveNine","Strive9","preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"devDependencies":{"chai":"3.5.0","chance":"1.0.1","eslint":"2.4.0","jsdoc-to-markdown":"1.3.3","maddox":"0.2.4","mocha":"^2.5.3"},"dependencies":{"errr":"2.2.1","lodash":"4.17.5"},"gitHead":"b5adc0723cd6b1422ac0b4bba402400698171270","_id":"preconditions@2.2.1","_shasum":"a3d25e450a0eaf32dc6f6b401286f95563784ece","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"a3d25e450a0eaf32dc6f6b401286f95563784ece","size":27441,"noattachment":false,"key":"/preconditions/-/preconditions-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.2.1.tgz"},"maintainers":[{"name":"corybill","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/preconditions_2.2.1_1527273390340_0.9168741795394146"},"_hasShrinkwrap":false,"publish_time":1527273390476,"_cnpm_publish_time":1527273390476,"_cnpmcore_publish_time":"2021-12-16T19:20:08.707Z"},"2.2.0":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.2.0","description":"Support for Precondition error checking in Node.js","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/mocha/bin/_mocha ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["StriveNine","Strive9","preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"devDependencies":{"chai":"3.5.0","chance":"1.0.1","eslint":"2.4.0","jsdoc-to-markdown":"1.3.3","maddox":"0.2.4","mocha":"^2.5.3"},"dependencies":{"errr":"2.2.1","lodash":"4.13.1"},"gitHead":"295bea9810384406f2114414496ba1af9e190ea4","_id":"preconditions@2.2.0","_shasum":"cca34da73b48a7e38d090be744c482f8bbf19e5d","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.1","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"cca34da73b48a7e38d090be744c482f8bbf19e5d","size":26608,"noattachment":false,"key":"/preconditions/-/preconditions-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.2.0.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/preconditions-2.2.0.tgz_1468522756153_0.6332156124990433"},"directories":{},"publish_time":1468522758693,"_hasShrinkwrap":false,"_cnpm_publish_time":1468522758693,"_cnpmcore_publish_time":"2021-12-16T19:20:08.961Z"},"2.1.1":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.1.1","description":"Support for Precondition error checking in Node.js","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/maddox/bin/maddox.js ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["StriveNine","Strive9","preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"devDependencies":{"chai":"3.5.0","chance":"1.0.1","eslint":"2.4.0","jsdoc-to-markdown":"1.3.3","maddox":"0.0.8"},"dependencies":{"errr":"2.1.2","lodash":"3.0.0"},"gitHead":"64ebc6c509855b10e2c733fc78a7794e23f3d2e7","_id":"preconditions@2.1.1","_shasum":"434e8f94879490edf2dc55690edd10b69630d332","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"434e8f94879490edf2dc55690edd10b69630d332","size":22302,"noattachment":false,"key":"/preconditions/-/preconditions-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.1.1.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/preconditions-2.1.1.tgz_1463314466042_0.4017758856061846"},"directories":{},"publish_time":1463314470601,"_hasShrinkwrap":false,"_cnpm_publish_time":1463314470601,"_cnpmcore_publish_time":"2021-12-16T19:20:09.214Z"},"2.1.0":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.1.0","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/maddox/bin/maddox.js ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["StriveNine","Strive9","preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"devDependencies":{"chai":"3.5.0","chance":"1.0.1","eslint":"2.4.0","jsdoc-to-markdown":"1.3.3","maddox":"0.0.8"},"dependencies":{"errr":"2.1.2","lodash":"3.0.0"},"gitHead":"5b81bf1667dee81e32505f37845739a88ed4993b","_id":"preconditions@2.1.0","_shasum":"0140405022adf1085ef6393b13a9551a7861dc16","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"0140405022adf1085ef6393b13a9551a7861dc16","size":22309,"noattachment":false,"key":"/preconditions/-/preconditions-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.1.0.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/preconditions-2.1.0.tgz_1463279910018_0.4904014025814831"},"directories":{},"publish_time":1463279912221,"_hasShrinkwrap":false,"_cnpm_publish_time":1463279912221,"_cnpmcore_publish_time":"2021-12-16T19:20:09.430Z"},"2.0.8":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.0.8","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/maddox/bin/maddox.js ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["StriveNine","Strive9","preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"devDependencies":{"chai":"^3.5.0","chance":"^1.0.1","eslint":"^2.4.0","jsdoc-to-markdown":"^1.3.3","maddox":"0.0.8"},"dependencies":{"errr":"^2.0.2","lodash":"3.0.0"},"gitHead":"3a7f5894b9b8c80c85d850b1c2e1b04f268d022e","_id":"preconditions@2.0.8","_shasum":"9b39524e2e5a616c9428f28a85c423c676837b4d","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"9b39524e2e5a616c9428f28a85c423c676837b4d","size":21957,"noattachment":false,"key":"/preconditions/-/preconditions-2.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.0.8.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/preconditions-2.0.8.tgz_1459702375117_0.5261845376808196"},"directories":{},"publish_time":1459702377816,"_hasShrinkwrap":false,"_cnpm_publish_time":1459702377816,"_cnpmcore_publish_time":"2021-12-16T19:20:09.657Z"},"2.0.7":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.0.7","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/maddox/bin/maddox.js ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["StriveNine","Strive9","preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"devDependencies":{"chai":"^3.5.0","chance":"^1.0.1","eslint":"^2.4.0","jsdoc-to-markdown":"^1.3.3","maddox":"0.0.8"},"dependencies":{"errr":"1.0.7","lodash":"3.0.0"},"gitHead":"85b7e53ac39ed0435f7927676afcee6b2c650406","_id":"preconditions@2.0.7","_shasum":"adc97a6c7b9d7c2623f9509f5195bf1df5e292c7","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"adc97a6c7b9d7c2623f9509f5195bf1df5e292c7","size":21957,"noattachment":false,"key":"/preconditions/-/preconditions-2.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.0.7.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/preconditions-2.0.7.tgz_1459345326598_0.6266776039265096"},"directories":{},"publish_time":1459345329218,"_hasShrinkwrap":false,"_cnpm_publish_time":1459345329218,"_cnpmcore_publish_time":"2021-12-16T19:20:09.916Z"},"2.0.6":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.0.6","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/maddox/bin/maddox.js ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"devDependencies":{"chai":"^3.5.0","chance":"^1.0.1","eslint":"^2.4.0","jsdoc-to-markdown":"^1.3.3","maddox":"0.0.8"},"dependencies":{"errr":"1.0.7","lodash":"3.0.0"},"gitHead":"4b5217b9e8d7083b1013d63026646badaeedac74","_id":"preconditions@2.0.6","_shasum":"a2282117f240cd1ff9cec8af9101183cea0ae9e5","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"a2282117f240cd1ff9cec8af9101183cea0ae9e5","size":21937,"noattachment":false,"key":"/preconditions/-/preconditions-2.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.0.6.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/preconditions-2.0.6.tgz_1459344867910_0.8238566499203444"},"directories":{},"publish_time":1459344869046,"_hasShrinkwrap":false,"_cnpm_publish_time":1459344869046,"_cnpmcore_publish_time":"2021-12-16T19:20:10.189Z"},"2.0.5":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.0.5","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/maddox/bin/maddox.js ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"devDependencies":{"chai":"^3.5.0","chance":"^1.0.1","eslint":"^2.4.0","jsdoc-to-markdown":"^1.3.3","maddox":"0.0.8"},"dependencies":{"errr":"1.0.7","lodash":"3.0.0"},"gitHead":"c512738db63f6dfc7352021b58206d9ed61edfd3","_id":"preconditions@2.0.5","_shasum":"2129dfe2173a51911bc0f9388e263e90698510cc","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"2129dfe2173a51911bc0f9388e263e90698510cc","size":21666,"noattachment":false,"key":"/preconditions/-/preconditions-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.0.5.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/preconditions-2.0.5.tgz_1458356536713_0.8471762649714947"},"directories":{},"publish_time":1458356539347,"_hasShrinkwrap":false,"_cnpm_publish_time":1458356539347,"_cnpmcore_publish_time":"2021-12-16T19:20:10.443Z"},"2.0.4":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.0.4","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/maddox/bin/maddox.js ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":" ./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/preconditions.git"},"devDependencies":{"chai":"^3.5.0","chance":"^1.0.1","eslint":"^2.4.0","jsdoc-to-markdown":"^1.3.3","maddox":"0.0.8"},"dependencies":{"errr":"1.0.7","lodash":"3.0.0"},"gitHead":"cbb87827729154108c2185e1770b90f3570bd27b","_id":"preconditions@2.0.4","_shasum":"5269a3643ef1e38478937146551dc8e1bb4ead81","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"5269a3643ef1e38478937146551dc8e1bb4ead81","size":21667,"noattachment":false,"key":"/preconditions/-/preconditions-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.0.4.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/preconditions-2.0.4.tgz_1458354516373_0.2575848523993045"},"directories":{},"publish_time":1458354518944,"_hasShrinkwrap":false,"_cnpm_publish_time":1458354518944,"_cnpmcore_publish_time":"2021-12-16T19:20:10.677Z"},"2.0.3":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.0.3","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/maddox/bin/maddox.js ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":"./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["Preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable stack trace","append stack trace","concat strack trace","concatenate strack trace","Appendable error","append error","concat error","concatenate error","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/Preconditions.git"},"devDependencies":{"chai":"^3.5.0","chance":"^1.0.1","eslint":"^2.4.0","jsdoc-to-markdown":"^1.3.3","maddox":"0.0.8"},"dependencies":{"errr":"1.0.7","lodash":"3.0.0"},"gitHead":"1ffbee599789b488ab473b60d629011aa1fd50c0","_id":"preconditions@2.0.3","_shasum":"c0e5905b0abf8477101efc5885a0c0a0b1f83be1","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"c0e5905b0abf8477101efc5885a0c0a0b1f83be1","size":21143,"noattachment":false,"key":"/preconditions/-/preconditions-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.0.3.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/preconditions-2.0.3.tgz_1458263763331_0.9643085352145135"},"directories":{},"publish_time":1458263765719,"_hasShrinkwrap":false,"_cnpm_publish_time":1458263765719,"_cnpmcore_publish_time":"2021-12-16T19:20:11.106Z"},"2.0.2":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.0.2","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/maddox/bin/maddox.js ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":"./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["Preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable","append stack trace","concat strack trace","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/Preconditions.git"},"devDependencies":{"chai":"^3.5.0","chance":"^1.0.1","eslint":"^2.4.0","jsdoc-to-markdown":"^1.3.3","maddox":"0.0.8"},"dependencies":{"errr":"1.0.7","lodash":"3.0.0"},"gitHead":"c6f2503597400f98fc651707e6a296f97647971d","_id":"preconditions@2.0.2","_shasum":"2873d83f3f2c3544062aad3dd181234ce0e7e98c","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"2873d83f3f2c3544062aad3dd181234ce0e7e98c","size":21114,"noattachment":false,"key":"/preconditions/-/preconditions-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.0.2.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/preconditions-2.0.2.tgz_1458263450855_0.4959978733677417"},"directories":{},"publish_time":1458263453323,"_hasShrinkwrap":false,"_cnpm_publish_time":1458263453323,"_cnpmcore_publish_time":"2021-12-16T19:20:11.380Z"},"2.0.1":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.0.1","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/maddox/bin/maddox.js ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":"./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["Preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable","append stack trace","concat strack trace","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/Preconditions.git"},"devDependencies":{"chai":"^3.5.0","chance":"^1.0.1","eslint":"^2.4.0","jsdoc-to-markdown":"^1.3.3","maddox":"0.0.8"},"dependencies":{"errr":"1.0.7","lodash":"3.0.0"},"gitHead":"480f8a78859cc8f2d6751cb4ec2ad44e7743c38e","_id":"preconditions@2.0.1","_shasum":"da62a2bf341bee21f513723b6be274dccfcbad70","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"da62a2bf341bee21f513723b6be274dccfcbad70","size":21114,"noattachment":false,"key":"/preconditions/-/preconditions-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.0.1.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/preconditions-2.0.1.tgz_1458247220340_0.33795945323072374"},"directories":{},"publish_time":1458247223005,"_hasShrinkwrap":false,"_cnpm_publish_time":1458247223005,"_cnpmcore_publish_time":"2021-12-16T19:20:11.600Z"},"2.0.0":{"name":"preconditions","author":{"name":"Cory Parrish"},"main":"./lib/preconditions.js","version":"2.0.0","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"scripts":{"test":"npm run ut && npm run lint","ut":"./node_modules/maddox/bin/maddox.js ./spec/unit","perf":"env perf=true env test=false maddox ./spec/unit","uap":"env perf=true test=true maddox ./spec/unit","coverage":"./bin/maddox-cov.js","lint":"./node_modules/eslint/bin/eslint.js ./spec/ ./lib","docs":"./node_modules/jsdoc-to-markdown/bin/cli.js \"./lib/**/*.js\" > api.md"},"keywords":["Preconditions","Guava","Throw Error","Errr","Error","Error Factory","Error Builder","Stack Trace","Appendable","append stack trace","concat strack trace","Debug Params","Promise","Promise Chain","errr"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/corybill/Preconditions.git"},"devDependencies":{"chai":"^3.5.0","chance":"^1.0.1","eslint":"^2.4.0","jsdoc-to-markdown":"^1.3.3","maddox":"0.0.8"},"dependencies":{"errr":"1.0.7","lodash":"3.0.0"},"gitHead":"be0ea51c074088d41bdd0e3d0b0e329f4d91cfd6","_id":"preconditions@2.0.0","_shasum":"545e523bcda95b42f674f7422532954296d94154","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"dist":{"shasum":"545e523bcda95b42f674f7422532954296d94154","size":21005,"noattachment":false,"key":"/preconditions/-/preconditions-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-2.0.0.tgz"},"maintainers":[{"name":"corybill","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/preconditions-2.0.0.tgz_1458241287041_0.38133651041425765"},"directories":{},"publish_time":1458241289826,"_hasShrinkwrap":false,"_cnpm_publish_time":1458241289826,"_cnpmcore_publish_time":"2021-12-16T19:20:12.172Z"},"1.0.8":{"name":"preconditions","author":{"name":"Cory Parrish"},"version":"1.0.8","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"license":"MIT","repository":{"type":"git","url":"https://github.com/corybill/Preconditions.git"},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-jasmine-node":"^0.2.1","grunt-jasmine-node-coverage":"^0.1.11","jasmine-node":"^1.14.5"},"dependencies":{"lodash":"^2.4.1"},"_id":"preconditions@1.0.8","_shasum":"7bc1831ef6815602f3ad0c46968cb75eb1d92cc5","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"maintainers":[{"name":"corybill","email":""}],"dist":{"shasum":"7bc1831ef6815602f3ad0c46968cb75eb1d92cc5","size":8401,"noattachment":false,"key":"/preconditions/-/preconditions-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-1.0.8.tgz"},"directories":{},"publish_time":1414540928948,"_hasShrinkwrap":false,"_cnpm_publish_time":1414540928948,"_cnpmcore_publish_time":"2021-12-16T19:20:12.424Z"},"1.0.7":{"name":"preconditions","author":{"name":"Cory Parrish"},"version":"1.0.7","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"license":"MIT","repository":{"type":"git","url":"https://github.com/corybill/Preconditions.git"},"dependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-jasmine-node":"^0.2.1","grunt-jasmine-node-coverage":"^0.1.11","underscore":"^1.6.0"},"_id":"preconditions@1.0.7","_shasum":"a3ab997421891956db307c6127c32f35a48e9744","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"maintainers":[{"name":"corybill","email":""}],"dist":{"shasum":"a3ab997421891956db307c6127c32f35a48e9744","size":5679,"noattachment":false,"key":"/preconditions/-/preconditions-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-1.0.7.tgz"},"directories":{},"publish_time":1401768909415,"_hasShrinkwrap":false,"_cnpm_publish_time":1401768909415,"_cnpmcore_publish_time":"2021-12-16T19:20:12.639Z"},"1.0.6":{"name":"preconditions","author":{"name":"Cory Parrish"},"version":"1.0.6","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"license":"MIT","repository":{"type":"git","url":"https://github.com/corybill/Preconditions.git"},"dependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-jasmine-node":"^0.2.1","grunt-jasmine-node-coverage":"^0.1.11","underscore":"^1.6.0"},"_id":"preconditions@1.0.6","_shasum":"aa70616947b43fceda5dfdf5941adeb509539d0d","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"maintainers":[{"name":"corybill","email":""}],"dist":{"shasum":"aa70616947b43fceda5dfdf5941adeb509539d0d","size":5679,"noattachment":false,"key":"/preconditions/-/preconditions-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-1.0.6.tgz"},"directories":{},"publish_time":1401767909113,"_hasShrinkwrap":false,"_cnpm_publish_time":1401767909113,"_cnpmcore_publish_time":"2021-12-16T19:20:12.846Z"},"1.0.5":{"name":"preconditions","author":{"name":"Cory Parrish"},"version":"1.0.5","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"license":"MIT","repository":{"type":"git","url":"https://github.com/corybill/Preconditions.git"},"dependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-jasmine-node":"^0.2.1","grunt-jasmine-node-coverage":"^0.1.11","underscore":"^1.6.0"},"_id":"preconditions@1.0.5","_shasum":"e3756e10123e52ad97a468baa0343684c97f4df7","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"maintainers":[{"name":"corybill","email":""}],"dist":{"shasum":"e3756e10123e52ad97a468baa0343684c97f4df7","size":5666,"noattachment":false,"key":"/preconditions/-/preconditions-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-1.0.5.tgz"},"directories":{},"publish_time":1401767579145,"_hasShrinkwrap":false,"_cnpm_publish_time":1401767579145,"_cnpmcore_publish_time":"2021-12-16T19:20:13.045Z"},"1.0.4":{"name":"preconditions","author":{"name":"Cory Parrish"},"version":"1.0.4","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"license":"MIT","repository":{"type":"git","url":"https://github.com/corybill/Preconditions.git"},"dependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-jasmine-node":"^0.2.1","grunt-jasmine-node-coverage":"^0.1.11","underscore":"^1.6.0"},"_id":"preconditions@1.0.4","_shasum":"be3efba9324d98a2a5698cc3a76ef53d7181cd88","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"maintainers":[{"name":"corybill","email":""}],"dist":{"shasum":"be3efba9324d98a2a5698cc3a76ef53d7181cd88","size":5411,"noattachment":false,"key":"/preconditions/-/preconditions-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-1.0.4.tgz"},"directories":{},"publish_time":1401712427460,"_hasShrinkwrap":false,"_cnpm_publish_time":1401712427460,"_cnpmcore_publish_time":"2021-12-16T19:20:13.242Z"},"1.0.3":{"name":"preconditions","author":{"name":"Cory Parrish"},"version":"1.0.3","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"license":"MIT","repository":{"type":"git","url":"https://github.com/corybill/Preconditions.git"},"dependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-jasmine-node":"^0.2.1","grunt-jasmine-node-coverage":"^0.1.11","underscore":"^1.6.0"},"_id":"preconditions@1.0.3","_shasum":"6ecb49261580831b6edcbf6fa842e0914efbc751","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"maintainers":[{"name":"corybill","email":""}],"dist":{"shasum":"6ecb49261580831b6edcbf6fa842e0914efbc751","size":5368,"noattachment":false,"key":"/preconditions/-/preconditions-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-1.0.3.tgz"},"directories":{},"publish_time":1401711555445,"_hasShrinkwrap":false,"_cnpm_publish_time":1401711555445,"_cnpmcore_publish_time":"2021-12-16T19:20:13.459Z"},"1.0.2":{"name":"preconditions","author":{"name":"Cory Parrish"},"version":"1.0.2","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"license":"MIT","repository":{"type":"git","url":"https://github.com/corybill/Preconditions.git"},"dependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-jasmine-node":"^0.2.1","grunt-jasmine-node-coverage":"^0.1.11","underscore":"^1.6.0"},"_id":"preconditions@1.0.2","_shasum":"b9e1995080e295272890381523ec38a7fe6409b4","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"maintainers":[{"name":"corybill","email":""}],"dist":{"shasum":"b9e1995080e295272890381523ec38a7fe6409b4","size":5253,"noattachment":false,"key":"/preconditions/-/preconditions-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-1.0.2.tgz"},"directories":{},"publish_time":1401601626571,"_hasShrinkwrap":false,"_cnpm_publish_time":1401601626571,"_cnpmcore_publish_time":"2021-12-16T19:20:13.659Z"},"1.0.1":{"name":"preconditions","author":{"name":"Cory Parrish"},"version":"1.0.1","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"license":"MIT","repository":{"type":"git","url":"https://github.com/corybill/Preconditions.git"},"dependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-jasmine-node":"^0.2.1","grunt-jasmine-node-coverage":"^0.1.11","underscore":"^1.6.0"},"_id":"preconditions@1.0.1","_shasum":"77023c14e8a8f552ecb34f1a4d75fd1b741cba0a","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"maintainers":[{"name":"corybill","email":""}],"dist":{"shasum":"77023c14e8a8f552ecb34f1a4d75fd1b741cba0a","size":5249,"noattachment":false,"key":"/preconditions/-/preconditions-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-1.0.1.tgz"},"directories":{},"publish_time":1401601538234,"deprecated":"critical bug fixed in v1.0.2","_hasShrinkwrap":false,"_cnpm_publish_time":1401601538234,"_cnpmcore_publish_time":"2021-12-16T19:20:14.266Z"},"1.0.0":{"name":"preconditions","author":{"name":"Cory Parrish"},"version":"1.0.0","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"license":"MIT","repository":{"type":"git","url":"https://github.com/corybill/Preconditions.git"},"dependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-jasmine-node":"^0.2.1","grunt-jasmine-node-coverage":"^0.1.11","underscore":"^1.6.0"},"_id":"preconditions@1.0.0","_shasum":"a2570d7f41d321f307ee2e34f235085e41663299","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"maintainers":[{"name":"corybill","email":""}],"dist":{"shasum":"a2570d7f41d321f307ee2e34f235085e41663299","size":5232,"noattachment":false,"key":"/preconditions/-/preconditions-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-1.0.0.tgz"},"directories":{},"publish_time":1401601297874,"deprecated":"critical bug fixed in v1.0.2","_hasShrinkwrap":false,"_cnpm_publish_time":1401601297874,"_cnpmcore_publish_time":"2021-12-16T19:20:14.463Z"},"0.0.2":{"name":"preconditions","author":{"name":"Cory Parrish"},"version":"0.0.2","description":"Support for Guava like Precondition error checking in Node.js","homepage":"https://github.com/corybill/Preconditions","bugs":{"url":"https://github.com/corybill/Preconditions/issues"},"license":"MIT","repository":{"type":"git","url":"https://github.com/corybill/Preconditions.git"},"dependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-jasmine-node":"^0.2.1","grunt-jasmine-node-coverage":"^0.1.11","underscore":"^1.6.0"},"_id":"preconditions@0.0.2","_shasum":"ef94e18bf765715dea8c67dbdb7d5cb18d20b526","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"maintainers":[{"name":"corybill","email":""}],"dist":{"shasum":"ef94e18bf765715dea8c67dbdb7d5cb18d20b526","size":5150,"noattachment":false,"key":"/preconditions/-/preconditions-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-0.0.2.tgz"},"directories":{},"publish_time":1401600844095,"deprecated":"critical bug fixed in v1.0.2","_hasShrinkwrap":false,"_cnpm_publish_time":1401600844095,"_cnpmcore_publish_time":"2021-12-16T19:20:14.677Z"},"0.0.1":{"name":"preconditions","version":"0.0.1","dependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-jasmine-node":"^0.2.1","grunt-jasmine-node-coverage":"^0.1.11","underscore":"^1.6.0"},"description":"<p>Ensuring a fail fast development environment can help developers find bugs quicker and easier.   Ensuring all invariants are true at an initial point of contact will help you ensure this fail fast environment.   This Preconditions library will assist y","_id":"preconditions@0.0.1","_shasum":"366a10388095f4862ab1d2f0e7cceeee5765f9db","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"corybill","email":"corybillparrish@gmail.com"},"maintainers":[{"name":"corybill","email":""}],"dist":{"shasum":"366a10388095f4862ab1d2f0e7cceeee5765f9db","size":5640,"noattachment":false,"key":"/preconditions/-/preconditions-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/preconditions/download/preconditions-0.0.1.tgz"},"directories":{},"publish_time":1401574225247,"deprecated":"critical bug fixed in v1.0.2","_hasShrinkwrap":false,"_cnpm_publish_time":1401574225247,"_cnpmcore_publish_time":"2021-12-16T19:20:14.867Z"}},"readme":"# Preconditions Library\n\n[![view on npm](http://img.shields.io/npm/v/preconditions.svg)](https://www.npmjs.org/package/preconditions)\n[![npm module downloads](http://img.shields.io/npm/dt/preconditions.svg)](https://www.npmjs.org/package/preconditions)\n[![Build Status](https://travis-ci.org/corybill/preconditions.svg?branch=master)](https://travis-ci.org/corybill/Preconditions)\n[![Gitter](https://badges.gitter.im/corybill/preconditions.svg)](https://gitter.im/corybill/preconditions?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)\n\n#### Support for Precondition error checking in Node.js\n\n<p>Ensuring a fail fast development environment can help developers find bugs quicker and easier.\nEnsuring all invariants are true at an initial point of contact will help you ensure this fail fast environment.\nThe Preconditions library will assist you in doing just that by immediately throwing an Error\nif any of your invariants fail.  You can mix and match standard Guava API with convenience functions both with\nand without chaining.</p>\n\n#### Version 2 Additions\n<p>Version 2 adds a new entry point on the interface, 'errr'.  The errr interface decorates the errr node module\nand helps to solve some important issues with Node, listed below. See https://www.npmjs.com/package/errr.\nThis version also updates the module to Node 5 paradigms.</p>\n\n1. When templating / generating an error message, we must not string concat strings that are never used.  Building an error message before it is needed, will take away cycles from more important tasks in the event queue.  There are great performance gains to be found here if you are templating error messages.\n2. Appends Error stack traces together.  If you append errors at each layer of your code, and only print the stack trace at the top most layer of your code, you will have stack traces that paint a much clearer picture when debugging.  Allows you to get a more informative stack trace when using promise chains.\n3. Add debug params to stack traces to assist with bug resolution.\n\n### Install\n<pre><code>npm install preconditions</code></pre>\n\n### Preconditions Interface\nThere are four functions that are exposed from the library.\n\n1. errr() - Verify a one value at a time while building an 'errr' object.  You can append errors together and add debug params to the stack trace. \n2. singleton() - Verify one value at a time with a chainable preconditions interface.\n3. instance() - Create a testing suite passing in a single object.  Run a single, or multiple tests on the passed in object. Shouldn't be used in production code.\n4. constructor() - Get the constructor function so you can extend the Preconditions library (see below for example). Shouldn't be used in production code.\n\n### Examples Using the Errr Interface (.errr())\n\nYou can use a static instance to verify one value at a time while using the errr module to build an errr.  For more on the errr module see here https://github.com/corybill/Preconditions#errrdecorator and here https://github.com/corybill/errr#errr.\n<pre>\n  <code>\n    var preconditions = require(\"preconditions\").errr();\n  \n    preconditions.shouldBeDefined(someObj.valueOne).test();\n    preconditions.shouldBeDefined(someObj.valueOne, \"Custom error message.\").test();\n    preconditions.shouldBeDefined(someObj.valueOne, \"Error (%s:%s): Error Message.\", [errType, errCode]).test();\n    preconditions.shouldBeDefined(someObj.valueOne, \"Custom error message.\").debug({param1: \"someDebugParam\"}).test();\n    preconditions.shouldBeDefined(someObj.valueOne, \"Custom error message.\").appendTo(someErrorObj).test();\n    preconditions.shouldBeDefined(someObj.valueTwo, \"Error (%s:%s): Error Message.\", [errType, errCode]);\n      .debug({param1: \"someDebugParam\"})\n      .appendTo(someErrorObj)\n      .test();\n  </code>\n</pre>\n\n### Examples Using In Promise Chain\n\nBest practice for achieving fail fast concept when function must return promise;\n<pre>\n  <code>\n    var preconditions = require(\"preconditions\").errr();\n\n    new BlueBirdProm(function (resolve, reject {\n\n      // THIS WILL THROW AND BE CAUGHT AT THE NEXT LEVEL OF THE CHAIN\n      // NOTICE YOU DO NOT HAVE TO CALL REJECT BECAUSE WE ARE THROWING WITHIN A PROMISE.\n      preconditions.shouldBeDefined(someObj.valueTwo, \"Error (%s:%s): Error Message.\", [errType, errCode]);\n            .debug({param1: \"someDebugParam\"})\n            .set(\"reason\", \"Some Error\").set(\"statusCode\", 400)\n            .appendTo(someErrorObj)\n            .test(); // Can also short hand this call to .t();\n              \n      return someAsynchFunc().then(function (result) {\n        resolve(result);\n      }).catch(function (err) {\n        reject(err);\n      });\n    });\n  </code>\n</pre>\n\n### Examples Using the Singleton Interface (.singleton())\n\nYou can use a static instance to verify one value at a time.\n<pre>\n  <code>\n    var preconditions = require(\"preconditions\").singleton();\n  \n    preconditions.shouldBeDefined(someObj.valueOne)\n      .shouldBeDefined(someObj.valueTwo, \"Error (%s:%s): Error Message.\", [errType, errCode]).test();\n      .shouldBeDefined(someObj.valueThree, \"Custom error message.\");\n  </code>\n</pre>\n\n### Examples Using Instance Interface (.instance())\nShould not be used in production code!\n\n#### Setup Instance\n<pre>\n  <code>\n    var preconditions = require(\"preconditions\").instance(this);\n    \n    preconditions.shouldBeDefined(\"foo.deep.stringValue\", \"Custom error message.\")\n      .checkArguments(\"FOO\" === \"FOO\");\n  </code>\n</pre>\n\n### Examples Using The Constructor (.constructor())\nShould not be used in production code!\n\nThe Preconditions object itself is exposed so that you can extend the Preconditions class.\n<pre>\n  <code>\n    let Constructor = preconditions.constructor();\n    let ChildClass = class extends Constructor {\n      constructor(out) {\n        super(out);\n      }\n\n      shouldBeFoo(value, message) {\n        let msg = message || defaultMessage;\n\n        if (value !== \"FOO\") {\n          throw new Error(msg);\n        }\n      }\n    };\n    \n    new ChildClass(this).shouldBeDefined(\"foo.deep.stringValue\", \"Custom error message.\")\n      .shouldBeFoo(\"foo.deep.foo\");\n  </code>\n</pre>\n\n## NPM Scripts\n1. npm run test - Run linter and unit tests.\n2. npm run ut - Use Maddox to Run Unit Tests.\n3. npm run perf - Use Maddox to Performance metrics.\n3. npm run uap - Use Maddox to Unit Tests and Performance metrics.\n4. npm run lint - Run linter.\n5. npm run docs - Rebuild public API Docs.\n\n### Missing API or Bugs\nPlease reach out to me (Cory Parrish) if you would like a new precondition added or if you think you have found a bug.\n\n###Known Issues\n1. Release 1.0.2 has an npm install bug and has been deprecated!  Please update!\n2. If you are using windows and are seeing npm install issues due to the '^' in the package.json, please update node to >= (v0.10.28).\n\n### Releases\n  * 2.0.0\n    * Adds errr interface which decorates errr node module\n    * Allows templating in singleton interface.\n    * Notes the poor performance in instance interface.  Should not be used in production code.\n    * Redesign of code.\n    * Now uses maddox for unit testing.\n    * Moves to Node 5 paradigms.\n  * 1.0.8 - Removed 'underscore' and added 'lodash'.\n    * Added a .jshintrc file and a more extensive linting process\n    * Separated dependencies and dev-dependencies to reduce installation load (A big thanks to Esteban Ordano (eordano) for doing this work).\n  * 1.0.7 - First official public release.\n\n## API\n\n## Classes\n\n<dl>\n<dt><a href=\"#InstanceValidator\">InstanceValidator</a></dt>\n<dd><p>Validate values in a nested object using a dot notation structure (e.g. .shouldBeString(&quot;Person.Address.Street.zip&quot;))\nSystem will validate the the Person, Person.Address, and Person.Address.Street objects exist, and will validate that zip is a String.</p>\n<p>Use this interface if you want to utilize the following functionality:</p>\n<ol>\n<li>Nested object validation using a dot notation.</li>\n</ol>\n</dd>\n<dt><a href=\"#SingletonValidator\">SingletonValidator</a></dt>\n<dd><p>Validate single value with a chainable interface.\nUse this interface if you want to utilize the following functionality:</p>\n<ol>\n<li>Error message templating.</li>\n<li>Only templates error message if validation fails which saves event queue cycles.</li>\n<li>Chain together precondition validations.</li>\n</ol>\n</dd>\n<dt><a href=\"#ErrrDecorator\">ErrrDecorator</a></dt>\n<dd><p>Error Builder allows you to use optional functions to build an error object.  The error can have appended stack traces and debug params to assist with debugging.</p>\n</dd>\n<dt><a href=\"#ErrrValidator\">ErrrValidator</a></dt>\n<dd><p>Validate single value with a buildable interface on top of the errr node module.\nUse this interface if you want to utilize the following functionality:</p>\n<ol>\n<li>Error message templating.</li>\n<li>Only templates error message if ErrrValidator fails which saves event queue cycles.</li>\n<li>Gives ability to append Stack traces to an existing error.</li>\n<li>Gives ability to append debug params to stack trace.</li>\n</ol>\n</dd>\n<dt><a href=\"#Preconditions\">Preconditions</a></dt>\n<dd><p>Preconditions entry point interface.</p>\n</dd>\n</dl>\n\n<a name=\"InstanceValidator\"></a>\n\n## InstanceValidator\nValidate values in a nested object using a dot notation structure (e.g. .shouldBeString(\"Person.Address.Street.zip\"))\nSystem will validate the the Person, Person.Address, and Person.Address.Street objects exist, and will validate that zip is a String.\n\nUse this interface if you want to utilize the following functionality:\n1. Nested object validation using a dot notation.\n\n**Kind**: global class  \n\n* [InstanceValidator](#InstanceValidator)\n    * [new InstanceValidator(objectUnderTest)](#new_InstanceValidator_new)\n    * [.shouldBeDefined(configPath, [message])](#InstanceValidator+shouldBeDefined) ⇒ <code>this</code>\n    * [.shouldBeUndefined(configPath, [message])](#InstanceValidator+shouldBeUndefined) ⇒ <code>this</code>\n    * [.shouldBeNonEmptyArray(configPath, [message])](#InstanceValidator+shouldBeNonEmptyArray) ⇒ <code>this</code>\n    * [.shouldBeArray(configPath, [message])](#InstanceValidator+shouldBeArray) ⇒ <code>this</code>\n    * [.shouldNotBeArray(configPath, [message])](#InstanceValidator+shouldNotBeArray) ⇒ <code>this</code>\n    * [.shouldBeObject(configPath, [message])](#InstanceValidator+shouldBeObject) ⇒ <code>this</code>\n    * [.shouldNotBeObject(configPath, [message])](#InstanceValidator+shouldNotBeObject) ⇒ <code>this</code>\n    * [.shouldBeEmpty(configPath, [message])](#InstanceValidator+shouldBeEmpty) ⇒ <code>this</code>\n    * [.shouldNotBeEmpty(configPath, [message])](#InstanceValidator+shouldNotBeEmpty) ⇒ <code>this</code>\n    * [.shouldBeFunction(configPath, [message])](#InstanceValidator+shouldBeFunction) ⇒ <code>this</code>\n    * [.shouldNotBeFunction(configPath, [message])](#InstanceValidator+shouldNotBeFunction) ⇒ <code>this</code>\n    * [.shouldBeString(configPath, [message])](#InstanceValidator+shouldBeString) ⇒ <code>this</code>\n    * [.shouldNotBeString(configPath, [message])](#InstanceValidator+shouldNotBeString) ⇒ <code>this</code>\n    * [.shouldBeNumber(configPath, [message])](#InstanceValidator+shouldBeNumber) ⇒ <code>this</code>\n    * [.shouldNotBeNumber(configPath, [message])](#InstanceValidator+shouldNotBeNumber) ⇒ <code>this</code>\n    * [.shouldBeFinite(configPath, [message])](#InstanceValidator+shouldBeFinite) ⇒ <code>this</code>\n    * [.shouldBeInfinite(configPath, [message])](#InstanceValidator+shouldBeInfinite) ⇒ <code>this</code>\n    * [.shouldBeBoolean(configPath, [message])](#InstanceValidator+shouldBeBoolean) ⇒ <code>this</code>\n    * [.shouldNotBeBoolean(configPath, [message])](#InstanceValidator+shouldNotBeBoolean) ⇒ <code>this</code>\n    * [.shouldBeDate(configPath, [message])](#InstanceValidator+shouldBeDate) ⇒ <code>this</code>\n    * [.shouldNotBeDate(configPath, [message])](#InstanceValidator+shouldNotBeDate) ⇒ <code>this</code>\n    * [.shouldBeRegExp(configPath, [message])](#InstanceValidator+shouldBeRegExp) ⇒ <code>this</code>\n    * [.shouldNotBeRegExp(configPath, [message])](#InstanceValidator+shouldNotBeRegExp) ⇒ <code>this</code>\n    * [.shouldBeFalsey(configPath, [message])](#InstanceValidator+shouldBeFalsey) ⇒ <code>this</code>\n    * [.shouldNotBeFalsey(configPath, [message])](#InstanceValidator+shouldNotBeFalsey) ⇒ <code>this</code>\n    * [.shouldBeFalsy(configPath, [message])](#InstanceValidator+shouldBeFalsy) ⇒ <code>this</code>\n    * [.shouldNotBeFalsy(configPath, [message])](#InstanceValidator+shouldNotBeFalsy) ⇒ <code>this</code>\n    * [.shouldBeTruthy(configPath, [message])](#InstanceValidator+shouldBeTruthy) ⇒ <code>this</code>\n    * [.shouldNotBeTruthy(configPath, [message])](#InstanceValidator+shouldNotBeTruthy) ⇒ <code>this</code>\n    * [.checkArgument(expression, [message], [template])](#InstanceValidator+checkArgument) ⇒ <code>this</code>\n    * [.checkState(expression, [message])](#InstanceValidator+checkState) ⇒ <code>this</code>\n    * [.checkElementIndex(index, size, [message])](#InstanceValidator+checkElementIndex) ⇒ <code>this</code>\n    * [.checkPositionIndex(index, size, [message])](#InstanceValidator+checkPositionIndex) ⇒ <code>this</code>\n    * [.checkPositionIndexes(start, end, size, [message])](#InstanceValidator+checkPositionIndexes) ⇒ <code>this</code>\n\n<a name=\"new_InstanceValidator_new\"></a>\n\n### new InstanceValidator(objectUnderTest)\n\n| Param | Type | Description |\n| --- | --- | --- |\n| objectUnderTest | <code>Object</code> | Object to run validations against. |\n\n<a name=\"InstanceValidator+shouldBeDefined\"></a>\n\n### instanceValidator.shouldBeDefined(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is defined.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeUndefined\"></a>\n\n### instanceValidator.shouldBeUndefined(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not defined.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeNonEmptyArray\"></a>\n\n### instanceValidator.shouldBeNonEmptyArray(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not an array or is an empty array.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeArray\"></a>\n\n### instanceValidator.shouldBeArray(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is an array.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldNotBeArray\"></a>\n\n### instanceValidator.shouldNotBeArray(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not an array.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeObject\"></a>\n\n### instanceValidator.shouldBeObject(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is of type Object.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldNotBeObject\"></a>\n\n### instanceValidator.shouldNotBeObject(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not of type Object.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeEmpty\"></a>\n\n### instanceValidator.shouldBeEmpty(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not empty.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldNotBeEmpty\"></a>\n\n### instanceValidator.shouldNotBeEmpty(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is empty.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeFunction\"></a>\n\n### instanceValidator.shouldBeFunction(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not of type Function.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldNotBeFunction\"></a>\n\n### instanceValidator.shouldNotBeFunction(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is of type Function.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeString\"></a>\n\n### instanceValidator.shouldBeString(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not of type String.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldNotBeString\"></a>\n\n### instanceValidator.shouldNotBeString(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is of type String.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeNumber\"></a>\n\n### instanceValidator.shouldBeNumber(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not of type Number.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldNotBeNumber\"></a>\n\n### instanceValidator.shouldNotBeNumber(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is of type Number.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeFinite\"></a>\n\n### instanceValidator.shouldBeFinite(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not finite.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeInfinite\"></a>\n\n### instanceValidator.shouldBeInfinite(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not infinte.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeBoolean\"></a>\n\n### instanceValidator.shouldBeBoolean(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not of type Boolean.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldNotBeBoolean\"></a>\n\n### instanceValidator.shouldNotBeBoolean(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is of type Boolean.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeDate\"></a>\n\n### instanceValidator.shouldBeDate(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not of type Date.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldNotBeDate\"></a>\n\n### instanceValidator.shouldNotBeDate(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is of type Date.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeRegExp\"></a>\n\n### instanceValidator.shouldBeRegExp(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not a Regular Expression.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldNotBeRegExp\"></a>\n\n### instanceValidator.shouldNotBeRegExp(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is a Regular Expression.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeFalsey\"></a>\n\n### instanceValidator.shouldBeFalsey(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is not falsey.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldNotBeFalsey\"></a>\n\n### instanceValidator.shouldNotBeFalsey(configPath, [message]) ⇒ <code>this</code>\nThrows an error if any value does not exist in the objectToTest, from configPath. Throws an error if the last key from configPath is falsey.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeFalsy\"></a>\n\n### instanceValidator.shouldBeFalsy(configPath, [message]) ⇒ <code>this</code>\nSynonym for shouldBeFalsey.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldNotBeFalsy\"></a>\n\n### instanceValidator.shouldNotBeFalsy(configPath, [message]) ⇒ <code>this</code>\nSynonym for shouldNotBeFalsey.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldBeTruthy\"></a>\n\n### instanceValidator.shouldBeTruthy(configPath, [message]) ⇒ <code>this</code>\nSynonym for shouldNotBeFalsey.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+shouldNotBeTruthy\"></a>\n\n### instanceValidator.shouldNotBeTruthy(configPath, [message]) ⇒ <code>this</code>\nSynonym for shouldBeFalsey.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| configPath | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+checkArgument\"></a>\n\n### instanceValidator.checkArgument(expression, [message], [template]) ⇒ <code>this</code>\nEnsures the truth of an expression involving one or more parameters to the calling method.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| expression | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"InstanceValidator+checkState\"></a>\n\n### instanceValidator.checkState(expression, [message]) ⇒ <code>this</code>\nEnsures the truth of an expression involving the state of the calling InstanceValidator, but not involving any parameters to the calling method.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| expression | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+checkElementIndex\"></a>\n\n### instanceValidator.checkElementIndex(index, size, [message]) ⇒ <code>this</code>\nEnsures that index specifies a valid element in an array, list or string of size size.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| index | <code>Number</code> |  |\n| size | <code>Number</code> |  |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+checkPositionIndex\"></a>\n\n### instanceValidator.checkPositionIndex(index, size, [message]) ⇒ <code>this</code>\nEnsures that index specifies a valid position in an array, list or string of size size.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| index | <code>Number</code> |  |\n| size | <code>Number</code> |  |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"InstanceValidator+checkPositionIndexes\"></a>\n\n### instanceValidator.checkPositionIndexes(start, end, size, [message]) ⇒ <code>this</code>\nEnsures that start and end specify a valid positions in an array, list or string of size size, and are in order.\n\n**Kind**: instance method of <code>[InstanceValidator](#InstanceValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| start | <code>Number</code> |  |\n| end | <code>Number</code> |  |\n| size | <code>Number</code> |  |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n\n<a name=\"SingletonValidator\"></a>\n\n## SingletonValidator\nValidate single value with a chainable interface.\nUse this interface if you want to utilize the following functionality:\n1. Error message templating.\n2. Only templates error message if validation fails which saves event queue cycles.\n3. Chain together precondition validations.\n\n**Kind**: global class  \n\n* [SingletonValidator](#SingletonValidator)\n    * [.shouldBeDefined(val, [message], [template])](#SingletonValidator.shouldBeDefined) ⇒ <code>this</code>\n    * [.shouldBeUndefined(val, [message], [template])](#SingletonValidator.shouldBeUndefined) ⇒ <code>this</code>\n    * [.shouldBeArray(val, [message], [template])](#SingletonValidator.shouldBeArray) ⇒ <code>this</code>\n    * [.shouldNotBeArray(val, [message], [template])](#SingletonValidator.shouldNotBeArray) ⇒ <code>this</code>\n    * [.shouldBeObject(val, [message], [template])](#SingletonValidator.shouldBeObject) ⇒ <code>this</code>\n    * [.shouldNotBeObject(val, [message], [template])](#SingletonValidator.shouldNotBeObject) ⇒ <code>this</code>\n    * [.shouldBeEmpty(val, [message], [template])](#SingletonValidator.shouldBeEmpty) ⇒ <code>this</code>\n    * [.shouldNotBeEmpty(val, [message], [template])](#SingletonValidator.shouldNotBeEmpty) ⇒ <code>this</code>\n    * [.shouldBeFunction(val, [message], [template])](#SingletonValidator.shouldBeFunction) ⇒ <code>this</code>\n    * [.shouldNotBeFunction(val, [message], [template])](#SingletonValidator.shouldNotBeFunction) ⇒ <code>this</code>\n    * [.shouldBeString(val, [message], [template])](#SingletonValidator.shouldBeString) ⇒ <code>this</code>\n    * [.shouldNotBeString(val, [message], [template])](#SingletonValidator.shouldNotBeString) ⇒ <code>this</code>\n    * [.shouldBeNumber(val, [message], [template])](#SingletonValidator.shouldBeNumber) ⇒ <code>this</code>\n    * [.shouldNotBeNumber(val, [message], [template])](#SingletonValidator.shouldNotBeNumber) ⇒ <code>this</code>\n    * [.shouldBeFinite(val, [message], [template])](#SingletonValidator.shouldBeFinite) ⇒ <code>this</code>\n    * [.shouldBeInfinite(val, [message], [template])](#SingletonValidator.shouldBeInfinite) ⇒ <code>this</code>\n    * [.shouldBeBoolean(val, [message], [template])](#SingletonValidator.shouldBeBoolean) ⇒ <code>this</code>\n    * [.shouldNotBeBoolean(val, [message], [template])](#SingletonValidator.shouldNotBeBoolean) ⇒ <code>this</code>\n    * [.shouldBeDate(val, [message], [template])](#SingletonValidator.shouldBeDate) ⇒ <code>this</code>\n    * [.shouldNotBeDate(val, [message], [template])](#SingletonValidator.shouldNotBeDate) ⇒ <code>this</code>\n    * [.shouldBeRegExp(val, [message], [template])](#SingletonValidator.shouldBeRegExp) ⇒ <code>this</code>\n    * [.shouldNotBeRegExp(val, [message], [template])](#SingletonValidator.shouldNotBeRegExp) ⇒ <code>this</code>\n    * [.shouldBeFalsey(val, [message], [template])](#SingletonValidator.shouldBeFalsey) ⇒ <code>this</code>\n    * [.shouldNotBeFalsey(val, [message], [template])](#SingletonValidator.shouldNotBeFalsey) ⇒ <code>this</code>\n    * [.shouldBeFalsy(val, [message], [template])](#SingletonValidator.shouldBeFalsy) ⇒ <code>this</code>\n    * [.shouldNotBeFalsy(val, [message], [template])](#SingletonValidator.shouldNotBeFalsy) ⇒ <code>this</code>\n    * [.shouldBeTruthy(val, [message], [template])](#SingletonValidator.shouldBeTruthy) ⇒ <code>this</code>\n    * [.shouldNotBeTruthy(val, [message], [template])](#SingletonValidator.shouldNotBeTruthy) ⇒ <code>this</code>\n    * [.checkArgument(expression, [message], [template])](#SingletonValidator.checkArgument) ⇒ <code>this</code>\n    * [.checkState(expression, [message], [template])](#SingletonValidator.checkState) ⇒ <code>this</code>\n    * [.checkElementIndex(index, size, [message], [template])](#SingletonValidator.checkElementIndex) ⇒ <code>this</code>\n    * [.checkPositionIndex(index, size, [message], [template])](#SingletonValidator.checkPositionIndex) ⇒ <code>this</code>\n    * [.checkPositionIndexes(start, end, size, [message], [template])](#SingletonValidator.checkPositionIndexes) ⇒ <code>this</code>\n\n<a name=\"SingletonValidator.shouldBeDefined\"></a>\n\n### SingletonValidator.shouldBeDefined(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not defined.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeUndefined\"></a>\n\n### SingletonValidator.shouldBeUndefined(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is defined.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeArray\"></a>\n\n### SingletonValidator.shouldBeArray(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not of type Array.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldNotBeArray\"></a>\n\n### SingletonValidator.shouldNotBeArray(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is of type Array.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeObject\"></a>\n\n### SingletonValidator.shouldBeObject(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not of type Object.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldNotBeObject\"></a>\n\n### SingletonValidator.shouldNotBeObject(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is of type Object.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeEmpty\"></a>\n\n### SingletonValidator.shouldBeEmpty(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not empty.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldNotBeEmpty\"></a>\n\n### SingletonValidator.shouldNotBeEmpty(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is empty.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeFunction\"></a>\n\n### SingletonValidator.shouldBeFunction(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not of type Function.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldNotBeFunction\"></a>\n\n### SingletonValidator.shouldNotBeFunction(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is of type Function.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeString\"></a>\n\n### SingletonValidator.shouldBeString(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not of type String.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldNotBeString\"></a>\n\n### SingletonValidator.shouldNotBeString(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is of type String.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeNumber\"></a>\n\n### SingletonValidator.shouldBeNumber(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not of type Number.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldNotBeNumber\"></a>\n\n### SingletonValidator.shouldNotBeNumber(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is of type Number.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeFinite\"></a>\n\n### SingletonValidator.shouldBeFinite(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not finite.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeInfinite\"></a>\n\n### SingletonValidator.shouldBeInfinite(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not infinite.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeBoolean\"></a>\n\n### SingletonValidator.shouldBeBoolean(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not of type Boolean.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldNotBeBoolean\"></a>\n\n### SingletonValidator.shouldNotBeBoolean(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is of type Boolean.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeDate\"></a>\n\n### SingletonValidator.shouldBeDate(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not of type Date.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldNotBeDate\"></a>\n\n### SingletonValidator.shouldNotBeDate(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is of type Date.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeRegExp\"></a>\n\n### SingletonValidator.shouldBeRegExp(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not a Regular Expression.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldNotBeRegExp\"></a>\n\n### SingletonValidator.shouldNotBeRegExp(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is a Regular Expression.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeFalsey\"></a>\n\n### SingletonValidator.shouldBeFalsey(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is not falsey.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldNotBeFalsey\"></a>\n\n### SingletonValidator.shouldNotBeFalsey(val, [message], [template]) ⇒ <code>this</code>\nThrows an error if 'val' is falsey.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeFalsy\"></a>\n\n### SingletonValidator.shouldBeFalsy(val, [message], [template]) ⇒ <code>this</code>\nSynonym for shouldBeFalsey.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldNotBeFalsy\"></a>\n\n### SingletonValidator.shouldNotBeFalsy(val, [message], [template]) ⇒ <code>this</code>\nSynonym for shouldNotBeFalsey.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldBeTruthy\"></a>\n\n### SingletonValidator.shouldBeTruthy(val, [message], [template]) ⇒ <code>this</code>\nSynonym for shouldNotBeFalsey.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.shouldNotBeTruthy\"></a>\n\n### SingletonValidator.shouldNotBeTruthy(val, [message], [template]) ⇒ <code>this</code>\nSynonym for shouldBeFalsey.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| val | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.checkArgument\"></a>\n\n### SingletonValidator.checkArgument(expression, [message], [template]) ⇒ <code>this</code>\nEnsures the truth of an expression involving one or more parameters to the calling method.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| expression | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.checkState\"></a>\n\n### SingletonValidator.checkState(expression, [message], [template]) ⇒ <code>this</code>\nEnsures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| expression | <code>String</code> | The value to validate. |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.checkElementIndex\"></a>\n\n### SingletonValidator.checkElementIndex(index, size, [message], [template]) ⇒ <code>this</code>\nEnsures that index specifies a valid element in an array, list or string of size size.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| index | <code>Number</code> |  |\n| size | <code>Number</code> |  |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.checkPositionIndex\"></a>\n\n### SingletonValidator.checkPositionIndex(index, size, [message], [template]) ⇒ <code>this</code>\nEnsures that index specifies a valid position in an array, list or string of size size.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| index | <code>Number</code> |  |\n| size | <code>Number</code> |  |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"SingletonValidator.checkPositionIndexes\"></a>\n\n### SingletonValidator.checkPositionIndexes(start, end, size, [message], [template]) ⇒ <code>this</code>\nEnsures that start and end specify a valid positions in an array, list or string of size size, and are in order.\n\n**Kind**: static method of <code>[SingletonValidator](#SingletonValidator)</code>  \n**Returns**: <code>this</code> - - Returns itself to allow chainable validations.  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| start | <code>Number</code> |  |\n| end | <code>Number</code> |  |\n| size | <code>Number</code> |  |\n| [message] | <code>String</code> | The error message or the error template string to use if the validation fails. |\n| [template] | <code>Array</code> | Template params.  If provided, the error message will be generated using util.format(message, template). |\n\n<a name=\"ErrrDecorator\"></a>\n\n## ErrrDecorator\nError Builder allows you to use optional functions to build an error object.  The error can have appended stack traces and debug params to assist with debugging.\n\n**Kind**: global class  \n\n* [ErrrDecorator](#ErrrDecorator)\n    * [new ErrrDecorator([message], [template])](#new_ErrrDecorator_new)\n    * [.debug(params, [shouldDebug])](#ErrrDecorator+debug) ⇒ <code>[ErrrDecorator](#ErrrDecorator)</code>\n    * [.set(key, value, [force])](#ErrrDecorator+set) ⇒ <code>[ErrrDecorator](#ErrrDecorator)</code>\n    * [.setAll(key, value, [force])](#ErrrDecorator+setAll) ⇒ <code>[ErrrDecorator](#ErrrDecorator)</code>\n    * [.appendTo(err)](#ErrrDecorator+appendTo) ⇒ <code>[ErrrDecorator](#ErrrDecorator)</code>\n    * [.test()](#ErrrDecorator+test)\n    * [.t()](#ErrrDecorator+t)\n\n<a name=\"new_ErrrDecorator_new\"></a>\n\n### new ErrrDecorator([message], [template])\nProvides an interface to build an error.  Then allows you to get or throw the error.\n\n\n| Param |","_attachments":{},"homepage":"https://github.com/corybill/preconditions","bugs":{"url":"https://github.com/corybill/preconditions/issues"},"license":"MIT"}