{"_id":"types-json","_rev":"203483","name":"types-json","description":"Type checking for JSON values","dist-tags":{"latest":"4.0.1"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"time":{"modified":"2023-03-21T13:23:42.000Z","created":"2020-09-07T18:30:39.015Z","4.0.1":"2023-01-29T20:27:40.020Z","4.0.0":"2023-01-27T15:54:20.655Z","3.2.0":"2023-01-27T14:25:54.918Z","3.1.2":"2023-01-24T17:51:34.452Z","3.1.1":"2023-01-24T17:44:25.885Z","3.1.0":"2023-01-24T17:02:58.493Z","3.0.0":"2023-01-11T03:47:19.820Z","2.0.2":"2023-01-11T00:17:22.658Z","2.0.1":"2023-01-10T23:58:36.738Z","2.0.0":"2023-01-10T23:31:41.331Z","1.2.2":"2020-10-04T04:20:13.200Z","1.2.1":"2020-09-19T21:49:15.753Z","1.2.0":"2020-09-10T02:55:25.576Z","1.1.0":"2020-09-10T02:49:31.219Z","1.0.8":"2020-09-08T03:47:46.590Z","1.0.7":"2020-09-07T19:38:54.358Z","1.0.6":"2020-09-07T18:30:39.015Z"},"users":{},"author":{"name":"Connor White"},"repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"versions":{"4.0.1":{"name":"types-json","version":"4.0.1","description":"Type checking for JSON values","license":"MIT","private":false,"author":{"name":"Connor White"},"contributors":[{"name":"Connor White"}],"homepage":"https://github.com/bconnorwhite/types-json#readme","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"bugs":{"url":"https://github.com/bconnorwhite/types-json/issues"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"type":"module","main":".auto/build/index.js","exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"dependencies":{"is-zod":"^1.0.0","zod":"^3.20.2"},"devDependencies":{"autorepo":"^0.1.9"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"types-json@4.0.1","dist":{"shasum":"4cf41e2c9764b4c1444a86b5e3f6ec312d36bee2","size":5603,"noattachment":false,"key":"/types-json/-/types-json-4.0.1.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-4.0.1.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_4.0.1_1675024059817_0.09538974281136103"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-29T20:27:40.020Z","publish_time":1675024060020,"_cnpm_publish_time":1675024060020},"4.0.0":{"name":"types-json","version":"4.0.0","description":"Type checking for JSON values","license":"MIT","private":false,"author":{"name":"Connor White"},"contributors":[{"name":"Connor White"}],"homepage":"https://github.com/bconnorwhite/types-json#readme","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"bugs":{"url":"https://github.com/bconnorwhite/types-json/issues"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"type":"module","main":".auto/build/index.js","exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"dependencies":{"zod":"^3.20.2"},"devDependencies":{"autorepo":"^0.1.9"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"types-json@4.0.0","dist":{"shasum":"b1e6da66924cd9486df2882ed9fbc3a56a3280f9","size":5538,"noattachment":false,"key":"/types-json/-/types-json-4.0.0.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-4.0.0.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_4.0.0_1674834860466_0.9951165707493412"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-27T15:54:20.655Z","publish_time":1674834860655,"_cnpm_publish_time":1674834860655},"3.2.0":{"name":"types-json","version":"3.2.0","description":"Type checking for JSON values","license":"MIT","private":false,"author":{"name":"Connor White"},"contributors":[{"name":"Connor White"}],"homepage":"https://github.com/bconnorwhite/types-json#readme","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"bugs":{"url":"https://github.com/bconnorwhite/types-json/issues"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"type":"module","main":".auto/build/index.js","exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"dependencies":{"zod":"^3.20.2"},"devDependencies":{"autorepo":"^0.1.9"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"types-json@3.2.0","dist":{"shasum":"f401184eb33eeaea9fd897cc550185c5b3d3ccfb","size":5528,"noattachment":false,"key":"/types-json/-/types-json-3.2.0.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-3.2.0.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_3.2.0_1674829554757_0.5487925041637718"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-27T14:25:54.918Z","publish_time":1674829554918,"_cnpm_publish_time":1674829554918},"3.1.2":{"name":"types-json","version":"3.1.2","description":"Type checking for JSON values","license":"MIT","private":false,"author":{"name":"Connor White"},"contributors":[{"name":"Connor White"}],"homepage":"https://github.com/bconnorwhite/types-json#readme","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"bugs":{"url":"https://github.com/bconnorwhite/types-json/issues"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"type":"module","main":".auto/build/index.js","exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"dependencies":{"zod":"^3.20.2"},"devDependencies":{"autorepo":"^0.1.9"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"types-json@3.1.2","dist":{"shasum":"3be9e2ac071bd09e9e8ae02e359adbb75c7b3ca9","size":4852,"noattachment":false,"key":"/types-json/-/types-json-3.1.2.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-3.1.2.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_3.1.2_1674582694167_0.3444927992760567"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-24T17:51:34.452Z","publish_time":1674582694452,"_cnpm_publish_time":1674582694452},"3.1.1":{"name":"types-json","version":"3.1.1","description":"Type checking for JSON values","license":"MIT","private":false,"author":{"name":"Connor White"},"contributors":[{"name":"Connor White"}],"homepage":"https://github.com/bconnorwhite/types-json#readme","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"bugs":{"url":"https://github.com/bconnorwhite/types-json/issues"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"type":"module","main":".auto/build/index.js","exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"dependencies":{"zod":"^3.20.2"},"devDependencies":{"autorepo":"^0.1.9"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"types-json@3.1.1","dist":{"shasum":"445697f3a05de0667c7f516de72c4a9b22e815fb","size":4778,"noattachment":false,"key":"/types-json/-/types-json-3.1.1.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-3.1.1.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_3.1.1_1674582265686_0.6881923595180908"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-24T17:44:25.885Z","publish_time":1674582265885,"_cnpm_publish_time":1674582265885},"3.1.0":{"name":"types-json","version":"3.1.0","description":"Type checking for JSON values","license":"MIT","private":false,"author":{"name":"Connor White"},"contributors":[{"name":"Connor White"}],"homepage":"https://github.com/bconnorwhite/types-json#readme","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"bugs":{"url":"https://github.com/bconnorwhite/types-json/issues"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"type":"module","main":".auto/build/index.js","exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"dependencies":{"zod":"^3.20.2"},"devDependencies":{"autorepo":"^0.1.9"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"types-json@3.1.0","dist":{"shasum":"588b98e28443c181b2e3d89cefbbca6e75aae6ef","size":4575,"noattachment":false,"key":"/types-json/-/types-json-3.1.0.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-3.1.0.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_3.1.0_1674579778246_0.5746689436775017"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-24T17:02:58.493Z","publish_time":1674579778493,"_cnpm_publish_time":1674579778493},"3.0.0":{"name":"types-json","version":"3.0.0","description":"Type checking for JSON values","license":"MIT","private":false,"author":{"name":"Connor White"},"contributors":[{"name":"Connor White"}],"homepage":"https://github.com/bconnorwhite/types-json#readme","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"bugs":{"url":"https://github.com/bconnorwhite/types-json/issues"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"type":"module","main":".auto/build/index.js","exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"devDependencies":{"autorepo":"^0.1.9"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"dependencies":{"zod":"^3.20.2"},"_id":"types-json@3.0.0","dist":{"shasum":"84735355ff84d859fd8177e13fdc6d9d2125a895","size":3358,"noattachment":false,"key":"/types-json/-/types-json-3.0.0.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-3.0.0.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_3.0.0_1673408839675_0.8123406895379759"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-11T03:47:19.820Z","publish_time":1673408839820,"_cnpm_publish_time":1673408839820},"2.0.2":{"name":"types-json","version":"2.0.2","description":"Type checking for JSON objects","license":"MIT","private":false,"author":{"name":"Connor White"},"contributors":[{"name":"Connor White"}],"homepage":"https://github.com/bconnorwhite/types-json#readme","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"bugs":{"url":"https://github.com/bconnorwhite/types-json/issues"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"type":"module","main":".auto/build/index.js","exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"devDependencies":{"autorepo":"^0.1.9"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"types-json@2.0.2","dist":{"shasum":"19fef001ea49635117c4fba7a45febbf707cda46","size":2355,"noattachment":false,"key":"/types-json/-/types-json-2.0.2.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-2.0.2.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_2.0.2_1673396242363_0.47767521138846925"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-11T00:17:22.658Z","publish_time":1673396242658,"_cnpm_publish_time":1673396242658},"2.0.1":{"name":"types-json","version":"2.0.1","description":"Type checking for JSON objects","license":"MIT","private":false,"author":{"name":"Connor White"},"contributors":[{"name":"Connor White"}],"homepage":"https://connorwhite.org/github/types-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"bugs":{"url":"https://github.com/bconnorwhite/types-json/issues"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"type":"module","main":".auto/build/index.js","exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"devDependencies":{"autorepo":"^0.1.9"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"types-json@2.0.1","dist":{"shasum":"4040728fc87db81cc7b3d81cfdbde0051cae4620","size":2236,"noattachment":false,"key":"/types-json/-/types-json-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-2.0.1.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_2.0.1_1673395116592_0.05199105070214638"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-10T23:58:36.738Z","publish_time":1673395116738,"_cnpm_publish_time":1673395116738},"2.0.0":{"name":"types-json","version":"2.0.0","description":"Type checking for JSON objects","license":"MIT","private":false,"author":{"name":"Connor White"},"contributors":[{"name":"Connor White"}],"homepage":"https://connorwhite.org/github/types-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"bugs":{"url":"https://github.com/bconnorwhite/types-json/issues"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"type":"module","main":".auto/build/index.js","exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"devDependencies":{"autorepo":"^0.1.9"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"types-json@2.0.0","dist":{"shasum":"0d6a5970a062f6177b0db10148b8596bae4796f8","size":2369,"noattachment":false,"key":"/types-json/-/types-json-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-2.0.0.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_2.0.0_1673393501129_0.036706565792071766"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-10T23:31:41.331Z","publish_time":1673393501331,"_cnpm_publish_time":1673393501331},"1.2.2":{"name":"types-json","version":"1.2.2","description":"Type checking for JSON objects","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"main":"./build/index.js","scripts":{"build":"bob build","commit":"bob commit","lint":"bob lint","release":"bob publish","test":"bob test"},"devDependencies":{"@bconnorwhite/bob":"^2.9.2"},"eslintConfig":{"extends":"eslint-config-bob"},"husky":{"hooks":{"commit-msg":"bob lint commit"}},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_id":"types-json@1.2.2","dist":{"shasum":"91ebe6de59e741ab38a98b071708a29494cedfe6","size":1977,"noattachment":false,"key":"/types-json/-/types-json-1.2.2.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-1.2.2.tgz"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_1.2.2_1601785213082_0.6460471592792836"},"_hasShrinkwrap":false,"publish_time":1601785213200,"_cnpm_publish_time":1601785213200,"_cnpmcore_publish_time":"2021-12-16T20:55:49.473Z"},"1.2.1":{"name":"types-json","version":"1.2.1","description":"Type checking for JSON objects","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn build","test":"jest"},"devDependencies":{"@bconnorwhite/bob":"^2.1.0","jest":"^26.4.2"},"_id":"types-json@1.2.1","dist":{"shasum":"bd0667623516ba4a24cc998951531af45187a7d0","size":1657,"noattachment":false,"key":"/types-json/-/types-json-1.2.1.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-1.2.1.tgz"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_1.2.1_1600552155643_0.34348117429528413"},"_hasShrinkwrap":false,"publish_time":1600552155753,"_cnpm_publish_time":1600552155753,"_cnpmcore_publish_time":"2021-12-16T20:55:49.713Z"},"1.2.0":{"name":"types-json","version":"1.2.0","description":"Type checking for JSON objects","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn build","test":"jest"},"devDependencies":{"@bconnorwhite/bob":"^2.1.0","jest":"^26.4.2"},"_id":"types-json@1.2.0","dist":{"shasum":"78323a7afa1d9e045999e36d57966d107931dfc4","size":1645,"noattachment":false,"key":"/types-json/-/types-json-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-1.2.0.tgz"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_1.2.0_1599706525416_0.9417058277367918"},"_hasShrinkwrap":false,"publish_time":1599706525576,"_cnpm_publish_time":1599706525576,"_cnpmcore_publish_time":"2021-12-16T20:55:49.904Z"},"1.1.0":{"name":"types-json","version":"1.1.0","description":"Type checking for JSON objects","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn build","test":"jest"},"devDependencies":{"@bconnorwhite/bob":"^2.1.0","jest":"^26.4.2"},"_id":"types-json@1.1.0","dist":{"shasum":"6ee9fb9fa015f74a4e80376b60b2249f03513edd","size":1612,"noattachment":false,"key":"/types-json/-/types-json-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-1.1.0.tgz"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_1.1.0_1599706171049_0.7326637853167313"},"_hasShrinkwrap":false,"publish_time":1599706171219,"_cnpm_publish_time":1599706171219,"_cnpmcore_publish_time":"2021-12-16T20:55:50.128Z"},"1.0.8":{"name":"types-json","version":"1.0.8","description":"Type checking for JSON objects","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn build","test":"jest"},"devDependencies":{"@bconnorwhite/bob":"^2.0.1","jest":"^26.4.2"},"_id":"types-json@1.0.8","dist":{"shasum":"78214e3ebfebe9c81517da87f880c8805c150722","size":1385,"noattachment":false,"key":"/types-json/-/types-json-1.0.8.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-1.0.8.tgz"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_1.0.8_1599536866474_0.6553105161114763"},"_hasShrinkwrap":false,"publish_time":1599536866590,"_cnpm_publish_time":1599536866590,"_cnpmcore_publish_time":"2021-12-16T20:55:50.434Z"},"1.0.7":{"name":"types-json","version":"1.0.7","description":"Type checking for JSON objects","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn build","test":"jest"},"devDependencies":{"@bconnorwhite/bob":"^2.0.1","jest":"^26.4.2"},"_id":"types-json@1.0.7","dist":{"shasum":"d7e929c3dc88c6362c445526338ad1c3e641cb39","size":1301,"noattachment":false,"key":"/types-json/-/types-json-1.0.7.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-1.0.7.tgz"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_1.0.7_1599507534235_0.42637993905722493"},"_hasShrinkwrap":false,"publish_time":1599507534358,"_cnpm_publish_time":1599507534358,"_cnpmcore_publish_time":"2021-12-16T20:55:50.634Z"},"1.0.6":{"name":"types-json","version":"1.0.6","description":"Type checking for json objects","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-json.git"},"keywords":["json","object","value","array","typescript","types","type","checking","guard","guards"],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn build","test":"jest"},"devDependencies":{"@bconnorwhite/bob":"^2.0.1","jest":"^26.4.2"},"_id":"types-json@1.0.6","dist":{"shasum":"b0e2c05c68185b3057dac55b9da2aa15407cf98d","size":1299,"noattachment":false,"key":"/types-json/-/types-json-1.0.6.tgz","tarball":"http://name.csiicloud.com:7001/types-json/download/types-json-1.0.6.tgz"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-json_1.0.6_1599503438906_0.12883497689751544"},"_hasShrinkwrap":false,"publish_time":1599503439015,"_cnpm_publish_time":1599503439015,"_cnpmcore_publish_time":"2021-12-16T20:55:50.827Z"}},"readme":"<!--BEGIN HEADER-->\n<div id=\"top\" align=\"center\">\n  <h1>types-json</h1>\n  <a href=\"https://npmjs.com/package/types-json\">\n    <img alt=\"NPM\" src=\"https://img.shields.io/npm/v/types-json.svg\">\n  </a>\n  <a href=\"https://github.com/bconnorwhite/types-json\">\n    <img alt=\"TypeScript\" src=\"https://img.shields.io/github/languages/top/bconnorwhite/types-json.svg\">\n  </a>\n  <a href=\"https://coveralls.io/github/bconnorwhite/types-json?branch=main\">\n    <img alt=\"Coverage Status\" src=\"https://img.shields.io/coveralls/github/bconnorwhite/types-json.svg?branch=main\">\n  </a>\n</div>\n\n<br />\n\n<blockquote align=\"center\">Type checking for JSON values.</blockquote>\n\n<br />\n\n_If I should maintain this repo, please ⭐️_\n<a href=\"https://github.com/bconnorwhite/types-json\">\n  <img align=\"right\" alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/bconnorwhite/types-json?label=%E2%AD%90%EF%B8%8F&style=social\">\n</a>\n\n_DM me on [Twitter](https://twitter.com/bconnorwhite) if you have questions or suggestions._\n<a href=\"https://twitter.com/bconnorwhite\">\n  <img align=\"right\" alt=\"Twitter\" src=\"https://img.shields.io/twitter/url?label=%40bconnorwhite&style=social&url=https%3A%2F%2Ftwitter.com%2Fbconnorwhite\">\n</a>\n\n---\n<!--END HEADER-->\nThis package uses [zod](https://www.npmjs.com/package/zod) to type check JSON values.\n\nIt includes type guards for each of the JSON types, as well as parse functions and corresponding types.\n\n## Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [JSONValue](#jsonvalue)\n  - [JSONObject](#jsonobject)\n  - [JSONArray](#jsonarray)\n  - [JSONPrimitive](#jsonprimitive)\n  - [JSONOrderable](#jsonorderable)\n  - [String](#string)\n  - [Number](#number)\n  - [Boolean](#boolean)\n  - [Null](#null)\n  - [Undefined](#undefined)\n\n## Installation\n\n```sh\nyarn add types-json\n```\n\n```sh\nnpm install types-json\n```\n\n```sh\npnpm add types-json\n```\n\n## Usage\n\n### JSONValue\n\nWhen using `isJSONValue`, values which cannot be parsed or serialized properly using `JSON.parse` and `JSON.stringify` return false.\n\nSimilarly, when using `parseJSONValue`, invalid values return `undefined`.\n\nFinally, a zod schema provided representing the `JSONValue` type.\n\n```ts\nimport { isJSONValue, parseJSONValue, jsonValueSchema } from \"types-json\";\n\nisJSONValue(undefined); // false\nisJSONValue(null); // true\nisJSONValue(NaN); // false\nisJSONValue(Infinity); // false\nisJSONValue([1, 2, 3]); // true\nisJSONValue([1, 2, () => 3]); // false\n```\n\nOptional types are also provided:\n\n```ts\nimport { isOptionalJSONValue, parseOptionalJSONValue, optionalJSONValueSchema } from \"types-json\";\n\nisOptionalJSONValue(undefined); // true\nisOptionalJSONValue({ a: 1, b: undefined }); // true\n```\n\n### JSONObject\n\nJSONObject is a type guard and parse function for objects which can be parsed and serialized using `JSON.parse` and `JSON.stringify`.\n\n```ts\nimport {\n  isJSONObject,\n  parseJSONObject,\n  jsonObjectSchema\n} from \"types-json\";\n\nisJSONObject({ foo: \"bar\" }); // true\nisJSONObject({ foo: () => \"bar\" }); // false\nparseJSONObject({ foo: \"bar\" }); // true\nparseJSONObject({ foo: () => \"bar\" }); // undefined\n```\n\nOptional types are also provided. `OptionalJSONObject` includes `undefined`, while `NestedOptionalJSONObject` only allows for `undefined` values nested within the object:\n\n```ts\nimport {\n  isOptionalJSONObject,\n  parseOptionalJSONObject,\n  optionalJSONObjectSchema,\n  isNestedOptionalJSONObject,\n  parseNestedOptionalJSONObject,\n  nestedOptionalJSONObjectSchema\n} from \"types-json\";\n\nisOptionalJSONObject(undefined); // true\nisOptionalJSONObject({ a: 1, b: undefined }); // true\n\nisNestedOptionalJSONObject(undefined); // false\nisNestedOptionalJSONObject({ a: 1, b: undefined }); // true\n```\n\n### JSONArray\n\n```ts\nimport {\n  isJSONArray,\n  parseJSONArray,\n  jsonArraySchema,\n} from \"types-json\";\n\nisJSONArray([1]); // true\nisJSONArray([1, () => 2]); // false\nparseJSONArray([1]); // []\nparseJSONArray([1, () => 2]); // undefined\n```\n\nOptional types are also provided. `OptionalJSONArray` includes `undefined`, while `NestedOptionalJSONArray` only allows for `undefined` values nested within objects inside the array. Note that `undefined` values nested within arrays are not allowed, as they are not valid JSON:\n\n```ts\nimport {\n  isOptionalJSONArray,\n  parseOptionalJSONArray,\n  optionalJSONArraySchema,\n  isNestedOptionalJSONArray,\n  parseNestedOptionalJSONArray,\n  nestedOptionalJSONArraySchema\n} from \"types-json\";\n\nisOptionalJSONArray(undefined); // true\nisOptionalJSONArray([1, undefined]); // false\nisOptionalJSONArray([1, { a: 1, b: undefined }]); // true\n\nisNestedOptionalJSONArray(undefined); // false\nisNestedOptionalJSONArray([1, undefined]); // false\nisNestedOptionalJSONArray([1, { a: 1, b: undefined }]); // true\n```\n\n### JSONPrimitive\n\n```ts\nimport {\n  isJSONPrimitive,\n  parseJSONPrimitive,\n  jsonPrimitiveSchema\n} from \"types-json\";\n\nisJSONPrimitive(\"foo\"); // true\nisJSONPrimitive(1); // true\nisJSONPrimitive(true); // true\nisJSONPrimitive(null); // true\nisJSONPrimitive(undefined); // false\nisJSONPrimitive({}); // false\n```\n\nOptional types are also provided:\n\n```ts\nimport {\n  isOptionalJSONPrimitive,\n  optionalJSONPrimitiveSchema\n} from \"types-json\";\n\nisOptionalJSONPrimitive(\"foo\"); // true\nisOptionalJSONPrimitive(1); // true\nisOptionalJSONPrimitive(true); // true\nisOptionalJSONPrimitive(null); // true\nisOptionalJSONPrimitive(undefined); // true\nisOptionalJSONPrimitive({}); // false\n```\n\n### JSONOrderable\n\n`JSONOrderable` is a type for values which can be reasonably compared using operators such as `>`, `<`, `>=`, and `<=`:\n\n```ts\nimport {\n  isJSONOrderable,\n  parseJSONOrderable,\n  jsonOrderableSchema\n} from \"types-json\";\n\nisJSONOrderable(\"foo\"); // true\nisJSONOrderable(1); // true\nisJSONOrderable(true); // false\nisJSONOrderable(null); // false\nisJSONOrderable(undefined); // false\nisJSONOrderable({}); // false\nisJSONOrderable([]); // false\n```\n\nOptional types are also provided:\n\n```ts\nimport {\n  isOptionalJSONOrderable,\n  optionalJSONOrderableSchema\n} from \"types-json\";\n\nisOptionalJSONOrderable(\"foo\"); // true\nisOptionalJSONOrderable(1); // true\nisOptionalJSONOrderable(true); // false\nisOptionalJSONOrderable(null); // false\nisOptionalJSONOrderable(undefined); // true\nisOptionalJSONOrderable({}); // false\nisOptionalJSONOrderable([]); // false\n```\n\n### String\n\n```ts\nimport {\n  isString,\n  parseString,\n  stringSchema\n} from \"types-json\";\n\nisString(\"foo\"); // true\nisString(1); // undefined\nparseString(\"foo\"); // \"foo\"\nparseString(1); // undefined\n```\n\nOptional types are also provided:\n\n```ts\nimport {\n  isOptionalString,\n  optionalStringSchema\n} from \"types-json\";\n\nisOptionalString(\"foo\"); // true\nisOptionalString(undefined); // true\n```\n\n### Number\n\n```ts\nimport {\n  isNumber,\n  parseNumber,\n  numberSchema\n} from \"types-json\";\n\nisNumber(1); // true\nisNumber(\"1\"); // undefined\nparseNumber(1); // true\nparseNumber(\"1\"); // undefined\n```\n\nOptional types are also provided:\n\n```ts\nimport {\n  isOptionalNumber,\n  optionalNumberSchema\n} from \"types-json\";\n\nisOptionalNumber(1); // true\nisOptionalNumber(undefined); // true\n```\n\n### Boolean\n\n```ts\nimport {\n  isBoolean,\n  parseBoolean,\n  booleanSchema\n} from \"types-json\";\n\nisBoolean(true); // true\nisBoolean(\"true\"); // undefined\nparseBoolean(true); // true\nparseBoolean(\"true\"); // undefined\n```\n\nOptional types are also provided:\n\n```ts\nimport {\n  isOptionalBoolean,\n  optionalBooleanSchema\n} from \"types-json\";\n\nisOptionalBoolean(true); // true\nisOptionalBoolean(undefined); // true\n```\n\n### Null\n\n```ts\nimport {\n  isNull,\n  parseNull,\n  nullSchema\n};\n\nisNull(null); // true\nisNull(\"not null\"); // undefined\nparseNull(null); // null\nparseNull(\"not null\"); // undefined\n```\n\nOptional types are also provided:\n\n```ts\nimport {\n  isOptionalNull,\n  optionalNullSchema\n} from \"types-json\";\n\nisOptionalNull(null); // true\nisOptionalNull(undefined); // true\n```\n\n### Undefined\n\nFinally, an `isUndefined` type guard is provided:\n\n```ts\nimport { isUndefined } from \"types-json\";\n\nisUndefined(undefined); // true\nisUndefined(\"string\"); // false\n```\n\n<!--BEGIN FOOTER-->\n\n<br />\n\n<h2 id=\"dependencies\">Dependencies<a href=\"https://www.npmjs.com/package/types-json?activeTab=dependencies\"><img align=\"right\" alt=\"dependencies\" src=\"https://img.shields.io/librariesio/release/npm/types-json.svg\"></a></h2>\n\n- [is-zod](https://www.npmjs.com/package/is-zod): Typeguard to check if a value matches a zod schema\n- [zod](https://www.npmjs.com/package/zod): TypeScript-first schema declaration and validation library with static type inference\n\n<br />\n\n<h3>Dev Dependencies</h3>\n\n- [autorepo](https://www.npmjs.com/package/autorepo): Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.\n\n<br />\n\n<h2 id=\"license\">License <a href=\"https://opensource.org/licenses/MIT\"><img align=\"right\" alt=\"license\" src=\"https://img.shields.io/npm/l/types-json.svg\"></a></h2>\n\n[MIT](https://opensource.org/licenses/MIT) - _MIT License_\n<!--END FOOTER-->\n\n<br />\n\n## Related Packages\n\n- [types-pkg-json](https://www.npmjs.com/package/types-pkg-json): Type checking for package.json\n- [types-tsconfig](https://www.npmjs.com/package/types-tsconfig): Type checking for tsconfig.json\n- [types-eslintrc](https://www.npmjs.com/package/types-eslintrc): Type checking for .eslintrc.json\n","_attachments":{},"homepage":"https://github.com/bconnorwhite/types-json#readme","bugs":{"url":"https://github.com/bconnorwhite/types-json/issues"},"license":"MIT"}