{"_id":"console-assert","_rev":"3-c009bd9fdad64988b6629f66da95fb55","name":"console-assert","description":"Standardizer for node's console.assert","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"console-assert","version":"1.0.0","description":"Standardizer for node's console.assert","main":"index.js","scripts":{"test":"node test"},"repository":{"type":"git","url":"git+https://github.com/zxqfox/console-assert.git"},"keywords":["console","assert","polyfill","node"],"author":{"name":"Alexey Yaroshevich","email":"zxqfox@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/zxqfox/console-assert/issues"},"homepage":"https://github.com/zxqfox/console-assert#readme","gitHead":"86d6a59f556ed0db73ed316bbb8d69242a99bc9f","_id":"console-assert@1.0.0","_shasum":"70167028ef08ec1667a0c687205a8360eb117367","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"qfox","email":"zxqfox@gmail.com"},"dist":{"shasum":"70167028ef08ec1667a0c687205a8360eb117367","tarball":"https://registry.npmjs.org/console-assert/-/console-assert-1.0.0.tgz","integrity":"sha512-YtowQtZLdzPUlXL+kxMEBclXVOrWzR/+9TAUbIdgnjCkRW8+Dj0y4ajMJtOoQFXEubMONX0fkFS3SNLxx4FQRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoviqtvB5e2jL8F8K3biWAvqN+moWFwei1NYLxOTmVjgIhAKmQbQuNnxKEtoWucT8aA0kXrr2V1cASWLDTfv2T+Vqa"}]},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/console-assert-1.0.0.tgz_1458855679416_0.6194980840664357"}}},"readme":"# console-assert\n\nSimple `console.assert` polyfill for node since existing realization throws instead of printing error.\n\nSee:\n- Issue in nodejs repository: https://github.com/nodejs/node/issues/5340\n- Draft specification: https://github.com/DeveloperToolsWG/console-object/blob/master/api.md#consoleassertexpression-object\n\n## Why?\n\nBecause when you trying to write polymorphic code you can't use console.assert in node env.\n\n## How to use?\n\nInstall module via npm:\n```\nnpm i console-assert\n```\n\nWrite this somewhere when you need it:\n```js\nrequire('console-assert').browserify();\n```\n\n> NB: Module patchs global console.assert and if you need to rollback behaviour\nyou have to just run `require('console-assert').restore();`.\n\n## License\n\n[The MIT License](http://qfox.mit-license.org/)\n","maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"}],"time":{"modified":"2022-06-13T21:56:54.196Z","created":"2016-03-24T21:41:21.602Z","1.0.0":"2016-03-24T21:41:21.602Z"},"homepage":"https://github.com/zxqfox/console-assert#readme","keywords":["console","assert","polyfill","node"],"repository":{"type":"git","url":"git+https://github.com/zxqfox/console-assert.git"},"author":{"name":"Alexey Yaroshevich","email":"zxqfox@gmail.com"},"bugs":{"url":"https://github.com/zxqfox/console-assert/issues"},"license":"MIT","readmeFilename":"README.md"}