{"_id":"mute","_rev":"12-504ed79e0598bd7d54219260cc025c12","name":"mute","description":"Politely tells stdout and stderr to shut the heck up for a moment.","dist-tags":{"latest":"2.0.6"},"versions":{"1.0.0":{"name":"mute","version":"1.0.0","description":"Politely tells stdout and stderr to shut the heck up for a moment.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/shannonmoeller/mute"},"keywords":["mute","stdout","stderr","process","redirect","null"],"author":{"name":"Shannon Moeller"},"license":"MIT","bugs":{"url":"https://github.com/shannonmoeller/mute/issues"},"homepage":"https://github.com/shannonmoeller/mute","_id":"mute@1.0.0","dist":{"shasum":"c07d06c0a344813408fcded1da7efee50cd1fab2","tarball":"https://registry.npmjs.org/mute/-/mute-1.0.0.tgz","integrity":"sha512-H1oXBD4IM6285JlW8eV78HW2MVcdcvczdtX8nlURvHsmN9BJ0uTqswGKswil7L7KDu/8Qhs4RQSpXm0kHF+QNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb1cGZ6WRBv0Rq3geN3Y8m7v4Uvxg54PvIN9gPbJ/l3gIhAKRkrVLF3EqaiAElN4LTDp2U0wdJamcNXcQjCJZpqnsY"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}]},"2.0.1":{"name":"mute","version":"2.0.1","description":"Politely tells stdout and stderr to shut the heck up for a moment.","main":"index.js","scripts":{"test":"nyc -r html -r text ava test.js"},"repository":{"type":"git","url":"https://github.com/shannonmoeller/mute"},"keywords":["mute","stdout","stderr","process","redirect","null"],"author":{"name":"Shannon Moeller"},"license":"MIT","bugs":{"url":"https://github.com/shannonmoeller/mute/issues"},"homepage":"https://github.com/shannonmoeller/mute","devDependencies":{"ava":"^0.8.0","nyc":"^5.0.1"},"gitHead":"21b73c7aa4bb5fa656c24749324d104b6047ab38","_id":"mute@2.0.1","_shasum":"2217b6da05cec65dea3d8677568a6f090d7371c7","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"shasum":"2217b6da05cec65dea3d8677568a6f090d7371c7","tarball":"https://registry.npmjs.org/mute/-/mute-2.0.1.tgz","integrity":"sha512-ql4PCWBDWSp0YdqHt9Q2ZyiFCf0W6kaYnQ0mRbhWKk1IyynoqTS2ij8lhI6e8604+ZeFmeceRUP0XsC2zAPgUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEg1+Yl2cSqwtsdXConbSywZHXgMrxoB+nLHtG3UgVvUAiBCkUnoEkuq60mbSSelO1RJMTHGEb23T3s5fwp3UOus8Q=="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}]},"2.0.2":{"name":"mute","version":"2.0.2","description":"Politely tells stdout and stderr to shut the heck up for a moment.","main":"index.js","scripts":{"coveralls":"nyc report -r text-lcov | coveralls","test":"nyc -r html -r text ava test.js"},"repository":{"type":"git","url":"https://github.com/shannonmoeller/mute"},"keywords":["mute","stdout","stderr","process","redirect","null"],"author":{"name":"Shannon Moeller"},"license":"MIT","bugs":{"url":"https://github.com/shannonmoeller/mute/issues"},"homepage":"https://github.com/shannonmoeller/mute","devDependencies":{"ava":"^0.8.0","coveralls":"^2.11.6","nyc":"^5.0.1"},"gitHead":"9d5eac5243e58b9ee16060604c2eb26e90e6a745","_id":"mute@2.0.2","_shasum":"82c463d460897bce244b536252d7fc5df60be43a","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"shasum":"82c463d460897bce244b536252d7fc5df60be43a","tarball":"https://registry.npmjs.org/mute/-/mute-2.0.2.tgz","integrity":"sha512-DeIey0/uZDOmMJe3k9iC5Q0ljZUOZcqMtpkr3zdqsDLjdkcJGYUCHq5riP9SKUX1zWC8MkXj3acUdHs9UiOs1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKvb6uC1nNnZVVirrc9f2U66KHrRe3nIlUFtb7JUYWlAiAOsGbIzZyqCwG0rg7BbXYWLlee7Sh29sVaLQxAyGWYag=="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}]},"2.0.3":{"name":"mute","version":"2.0.3","description":"Politely tells stdout and stderr to shut the heck up for a moment.","main":"index.js","scripts":{"coveralls":"nyc report -r text-lcov | coveralls","test":"nyc -r html -r text ava test.js"},"repository":{"type":"git","url":"https://github.com/shannonmoeller/mute"},"keywords":["mute","stdout","stderr","process","redirect","null"],"author":{"name":"Shannon Moeller"},"license":"MIT","bugs":{"url":"https://github.com/shannonmoeller/mute/issues"},"homepage":"https://github.com/shannonmoeller/mute","devDependencies":{"ava":"^0.8.0","coveralls":"^2.11.6","nyc":"^5.0.1"},"gitHead":"228dae7a10c1a47e2617c658aac3568e4784a8ab","_id":"mute@2.0.3","_shasum":"1216efadd129997aa8c38696dce771152b8cdffc","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"shasum":"1216efadd129997aa8c38696dce771152b8cdffc","tarball":"https://registry.npmjs.org/mute/-/mute-2.0.3.tgz","integrity":"sha512-cVHEDlwnebQIC+imqUwlicrZAE7eg0YqPTi23+VzDycYJe3Ok7SfOB/3E6QUeQWlDkwMeDiFsX7fesk/OwGjSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICPb5PKkwMdVoX1AXBjGCV4hg4kgwGOahxMcYP+YHb9UAiA7Tye2M+WeRyuZZMv7cEH4DYoQjXo8pNzywgCYKTF3ag=="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}]},"2.0.4":{"name":"mute","version":"2.0.4","description":"Politely tells stdout and stderr to shut the heck up for a moment.","main":"index.js","scripts":{"coveralls":"nyc report -r text-lcov | coveralls","test":"nyc -r html -r text ava test.js"},"repository":{"type":"git","url":"https://github.com/shannonmoeller/mute"},"keywords":["mute","stdout","stderr","process","redirect","null"],"author":{"name":"Shannon Moeller"},"license":"MIT","bugs":{"url":"https://github.com/shannonmoeller/mute/issues"},"homepage":"https://github.com/shannonmoeller/mute","devDependencies":{"ava":"^0.8.0","coveralls":"^2.11.6","nyc":"^5.0.1"},"gitHead":"2a459f55256934e3053dcafc1312e75c1a64d56d","_id":"mute@2.0.4","_shasum":"92a4c9aacdfc264818d5e7aa12cdc18bc2bbbec3","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"shasum":"92a4c9aacdfc264818d5e7aa12cdc18bc2bbbec3","tarball":"https://registry.npmjs.org/mute/-/mute-2.0.4.tgz","integrity":"sha512-Mv2W7oQ168XoTckSd8XOZLLkKvF/Ef63iv07LwfkxAUzAPQJLv91fJY+us2SBE4pxtOr/+u4KkWZ0R1/3R7whw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICy9jTVU6F56vlXZGZ1Cme2bewQdIbiHTrg60r4EGqXhAiEAjGRNSObDb/vFPZ0vctZBHjhVV+D3UJhYEs/74TvEXKY="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/mute-2.0.4.tgz_1455286226500_0.07130526495166123"}},"2.0.5":{"name":"mute","version":"2.0.5","description":"Politely tells stdout and stderr to shut the heck up for a moment.","main":"index.js","scripts":{"coveralls":"nyc report -r text-lcov | coveralls","test":"nyc -r html -r text ava test.js"},"repository":{"type":"git","url":"https://github.com/shannonmoeller/mute"},"keywords":["mute","stdout","stderr","process","redirect","null"],"author":{"name":"Shannon Moeller"},"license":"MIT","bugs":{"url":"https://github.com/shannonmoeller/mute/issues"},"homepage":"https://github.com/shannonmoeller/mute","devDependencies":{"ava":"^0.8.0","coveralls":"^2.11.6","nyc":"^5.0.1"},"gitHead":"cb0eade9ebff80284a90ff32e8b5e26f532d9952","_id":"mute@2.0.5","_shasum":"eab850478cd7b4c7427f442f54b696aca757b8ed","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"shasum":"eab850478cd7b4c7427f442f54b696aca757b8ed","tarball":"https://registry.npmjs.org/mute/-/mute-2.0.5.tgz","integrity":"sha512-ZulDxV1e5+c8jvG4xPSPIu+Oh62QJOxI/CZpEwjRZ/rBrSKWz8QL0IiI7ncqGnfp8oiASfygCsgHqrm5kA23dQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBd9XEUb4Z9cQUYvmqC1RWz8kT0XW4TAw1GDX1gaajQ/AiEAiHZEYiGkU4CuiTnPwZlL34jT0K6RoolQv16gA+UgznA="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/mute-2.0.5.tgz_1455286285991_0.0028095387388020754"}},"2.0.6":{"name":"mute","version":"2.0.6","description":"Politely tells stdout and stderr to shut the heck up for a moment.","main":"index.js","scripts":{"coveralls":"nyc report -r text-lcov | coveralls","test":"nyc -r html -r text ava test.js"},"repository":{"type":"git","url":"https://github.com/shannonmoeller/mute"},"keywords":["mute","stdout","stderr","process","redirect","null"],"author":{"name":"Shannon Moeller"},"license":"MIT","bugs":{"url":"https://github.com/shannonmoeller/mute/issues"},"homepage":"https://github.com/shannonmoeller/mute","devDependencies":{"ava":"^0.8.0","coveralls":"^2.11.6","nyc":"^5.0.1"},"gitHead":"7b51ecc607d3f912e65bd67f56edfc250d558011","_id":"mute@2.0.6","_shasum":"8bf10f1f285ea38c9db2630bff675c114c973ed5","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"shasum":"8bf10f1f285ea38c9db2630bff675c114c973ed5","tarball":"https://registry.npmjs.org/mute/-/mute-2.0.6.tgz","integrity":"sha512-Ad6F9cOVtFuNytgeGLB+XZt45j2gJl8Xw3YgualMIfW6myxBivXHXFs4o0Aq3hcnqyrHAXYeXQ5WgQ/ZLthKmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+EdblVwTxkTHhhnkQQ0sw24f2vu/0nKvOaxvyXaK8awIgZbm8j15ZZneD0N2h5AD6jRQt8gMdgnb5sdFInSI341k="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/mute-2.0.6.tgz_1455286542752_0.8408043135423213"}}},"readme":"# `mute`\n\n[![NPM version][npm-img]][npm-url] [![Downloads][downloads-img]][npm-url] [![Build Status][travis-img]][travis-url] [![Coverage Status][coveralls-img]][coveralls-url] [![Chat][gitter-img]][gitter-url] [![Tip][amazon-img]][amazon-url]\n\nPolitely tells one or more streams to shut the heck up for a moment by temporarily reassigning their write methods. Useful when testing noisey modules which lack verbosity options. Mutes `stdout` and `stderr` by default.\n\n## Install\n\n```\n$ npm install --save mute\n```\n\n## Usage\n\n```js\nvar mute = require('mute');\n\n// Mute stdout and stderr\nvar unmute = mute();\n\nconsole.log('foo');   // doesn't print 'foo'\nconsole.error('bar'); // doesn't print 'bar'\n\nunmute();\n\nconsole.log('foo');   // prints 'foo'\nconsole.error('bar'); // prints 'bar'\n\n// Mute just stderr\nvar unmuteErr = mute(process.stderr);\n\nconsole.log('foo');   // prints 'foo'\nconsole.error('bar'); // doesn't print 'bar'\n\nunmuteErr();\n\nconsole.log('foo');   // prints 'foo'\nconsole.error('bar'); // prints 'bar'\n```\n\n## API\n\n### `mute(...stream): Function()`\n\nAccepts one or more streams or arrays of streams, mutes them all, and returns a function to unmute them.\n\n## Test\n\n```\n$ npm test\n```\n\n## Contribute\n\n[![Tasks][waffle-img]][waffle-url]\n\nStandards for this project, including tests, code coverage, and semantics are enforced with a build tool. Pull requests must include passing tests with 100% code coverage and no linting errors.\n\n----\n\n© 2015 Shannon Moeller <me@shannonmoeller.com>\n\nLicensed under [MIT](http://shannonmoeller.com/mit.txt)\n\n[amazon-img]:    https://img.shields.io/badge/amazon-tip_jar-yellow.svg?style=flat-square\n[amazon-url]:    https://www.amazon.com/gp/registry/wishlist/1VQM9ID04YPC5?sort=universal-price\n[coveralls-img]: http://img.shields.io/coveralls/shannonmoeller/mute/master.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/shannonmoeller/mute\n[downloads-img]: http://img.shields.io/npm/dm/mute.svg?style=flat-square\n[gitter-img]:    http://img.shields.io/badge/gitter-join_chat-1dce73.svg?style=flat-square\n[gitter-url]:    https://gitter.im/shannonmoeller/shannonmoeller\n[npm-img]:       http://img.shields.io/npm/v/mute.svg?style=flat-square\n[npm-url]:       https://npmjs.org/package/mute\n[travis-img]:    http://img.shields.io/travis/shannonmoeller/mute.svg?style=flat-square\n[travis-url]:    https://travis-ci.org/shannonmoeller/mute\n[waffle-img]:    http://img.shields.io/github/issues/shannonmoeller/mute.svg?style=flat-square\n[waffle-url]:    http://waffle.io/shannonmoeller/mute\n","maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"time":{"modified":"2022-06-20T14:51:24.434Z","created":"2013-11-21T15:16:24.487Z","1.0.0":"2013-11-21T15:16:25.617Z","2.0.1":"2015-12-27T19:55:56.642Z","2.0.2":"2015-12-27T20:29:38.908Z","2.0.3":"2015-12-27T20:34:26.998Z","2.0.4":"2016-02-12T14:10:30.032Z","2.0.5":"2016-02-12T14:11:29.344Z","2.0.6":"2016-02-12T14:15:46.429Z"},"author":{"name":"Shannon Moeller"},"repository":{"type":"git","url":"https://github.com/shannonmoeller/mute"},"homepage":"https://github.com/shannonmoeller/mute","keywords":["mute","stdout","stderr","process","redirect","null"],"bugs":{"url":"https://github.com/shannonmoeller/mute/issues"},"license":"MIT","readmeFilename":"README.md","users":{"nukisman":true}}