{"name":"ts-invariant","version":"0.9.3","author":{"name":"Ben Newman","email":"ben@apollographql.com"},"description":"TypeScript implementation of invariant(condition, message)","license":"MIT","main":"lib/invariant.js","module":"lib/invariant.esm.js","types":"lib/invariant.d.ts","keywords":["invariant","assertion","precondition","TypeScript"],"homepage":"https://github.com/apollographql/invariant-packages","repository":{"type":"git","url":"git+https://github.com/apollographql/invariant-packages.git"},"bugs":{"url":"https://github.com/apollographql/invariant-packages/issues"},"scripts":{"build":"npm run tsc && npm run rollup","tsc":"../../node_modules/.bin/tsc","rollup":"../../node_modules/.bin/rollup -c","mocha":"../../node_modules/.bin/mocha --reporter spec --full-trace lib/tests.js","prepublish":"npm run build","pretest":"npm run build","test":"npm run test:mocha && npm run test:no-node","test:mocha":"npm run mocha","test:no-node":"! grep -i node lib/invariant.d.ts"},"dependencies":{"tslib":"^2.1.0"},"devDependencies":{"@types/invariant":"^2.2.29","invariant":"^2.2.4"},"engines":{"node":">=8"},"gitHead":"3c28a006c4e16cc7a2db30b0c71790b61909997b","_id":"ts-invariant@0.9.3","_nodeVersion":"16.6.1","_npmVersion":"lerna/4.0.0/node@v16.6.1+x64 (darwin)","dist":{"integrity":"sha512-HinBlTbFslQI0OHP07JLsSXPibSegec6r9ai5xxq/qHYCsIQbzpymLpDhAUsnXcSrDEcd0L62L8vsOEdzM0qlA==","shasum":"4b41e0a80c2530a56ce4b8fd4e14183aaac0efa8","tarball":"http://registry-npm.ywwl.com/ts-invariant/download/ts-invariant-0.9.3.tgz","fileCount":16,"unpackedSize":22903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOmdnCRA9TVsSAnZWagAA9pwP/0V9pMC0QVDkM8t5bobi\ny4rdnPqHL94qXwRRoSUD1sdioGBo27NyU7z9Sf5J2vwFwj36/O1+VWbwi4/c\nkBqKs9z7XVAuqnKj0GbFMtONeD8tGq+Gg3NhIzJ+/RVgndWV4eeeheyN+/vj\np+RDsS+fTdVcAA1WAxf2QsRjz6jMPFPYNjohopjlbWFBM78cgyN+s5Ja0/xc\nXtZFX4KuO/Mje91VRhdsdxcIsJePR6dZ2n7hlRt5kHT6JchZ/kO9sKyfQODt\nVSFcxsYpmfM7V82sqsvMs9JO9F6FexlX2l68tweFtMkj4GprnbTAccu9kWpT\nSvAz/JBilzMSYCL2+Bvo5Q4wPxRGpJ1h4RfHhkC1VCGv/ThdIHe8u/T2s/Ve\noo/9q/XvqPUzSGI9zCaeSD8EHGK26tZBneWWRx3ssWq2HenonkcJGS6Mip/l\nYA9fbmkEsPQr9LadxXB92gy6wkzUCSdVhKKJmOIalkT1nvxQ2vkXsTLAxC6r\nJzp2qsz/2qTAfQgJE/EL7XiJkkb2HJlXcY2gaW7CsSFi9NCE72vwHPhnqn/1\nbmIYDFYD3vvBthjbnIaWu0PygHDyfvjK4ndJP8mZKzqIGI4N9WP127WNZml9\nbclhFlYI6TsFGo56Ub7wCAKekSe2DrN4y35GLgf4AmLevG1xQnN3bsMOi3+x\n8VQD\r\n=mj8j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0GiNeL7ohYyRXFC0EB1FnlI9ml2EdMvHVZFpGwvYyDAiAsRMBKRHEnA3XovGCf6450aaud3KZNke7vqm/bdTZofQ=="}],"size":6226,"noattachment":false,"key":"/ts-invariant/-/ts-invariant-0.9.3.tgz"},"_npmUser":{"name":"benjamn","email":"ben@benjamn.com"},"directories":{},"maintainers":[{"name":"benjamn","email":"ben@benjamn.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-invariant_0.9.3_1631217511291_0.1599729109467316"},"_hasShrinkwrap":false,"readme":"# ts-invariant\n\n[TypeScript](https://www.typescriptlang.org) implementation of\n[`invariant(condition, message)`](https://www.npmjs.com/package/invariant).\n\nSupports `invariant.log`, `invariant.warn`, and `invariant.error`, which\nwrap `console` methods of the same name, and may be stripped in production\nby [`rollup-plugin-invariant`](../../archived/rollup-plugin-invariant).\n\nThe verbosity of these methods can be globally reconfigured using the\n`setVerbosity` function:\n```ts\nimport { setVerbosity } from \"ts-invariant\";\n\nsetVerbosity(\"log\"); // display all messages (default)\nsetVerbosity(\"warn\"); // display only warnings and errors\nsetVerbosity(\"error\"); // display only errors\nsetVerbosity(\"silent\"); // display no messages\n```\n","publish_time":1631217511464,"_cnpm_publish_time":1631217511464,"dist-tags":{"latest":"0.10.3","next":"0.10.3"}}