%PDF- %PDF-
Direktori : /home/opti/.npm/registry.npmjs.org/set-blocking/ |
Current File : /home/opti/.npm/registry.npmjs.org/set-blocking/.cache.json |
{"_id":"set-blocking","_rev":"3-6f3ed774dd4b0b52fc4e3761b6b5497b","name":"set-blocking","description":"set blocking stdio and stderr ensuring that terminal output does not truncate","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"set-blocking","version":"1.0.0","description":"set blocking stdio and stderr ensuring that terminal output does not truncate","main":"index.js","scripts":{"pretest":"standard","test":"nyc mocha ./test/*.js","coverage":"nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/yargs/set-blocking.git"},"keywords":["flush","terminal","blocking","shim","stdio","stderr"],"author":{"name":"Ben Coe","email":"ben@npmjs.com"},"license":"ISC","bugs":{"url":"https://github.com/yargs/set-blocking/issues"},"homepage":"https://github.com/yargs/set-blocking#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.11.9","mocha":"^2.4.5","nyc":"^6.4.4","standard":"^7.0.1","standard-version":"^2.2.1"},"files":["index.js","LICENSE.txt"],"gitHead":"7d0c45e56bbf7fe2634b71df47c5003b3ae1008a","_id":"set-blocking@1.0.0","_shasum":"cd5e5d938048df1ac92dfe92e1f16add656f5ec5","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.36","_npmUser":{"name":"bcoe","email":"ben@npmjs.com"},"dist":{"shasum":"cd5e5d938048df1ac92dfe92e1f16add656f5ec5","tarball":"https://registry.npmjs.org/set-blocking/-/set-blocking-1.0.0.tgz"},"maintainers":[{"name":"bcoe","email":"ben@npmjs.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/set-blocking-1.0.0.tgz_1463262253151_0.16861064941622317"},"directories":{}},"2.0.0":{"name":"set-blocking","version":"2.0.0","description":"set blocking stdio and stderr ensuring that terminal output does not truncate","main":"index.js","scripts":{"pretest":"standard","test":"nyc mocha ./test/*.js","coverage":"nyc report --reporter=text-lcov | coveralls","version":"standard-version"},"repository":{"type":"git","url":"git+https://github.com/yargs/set-blocking.git"},"keywords":["flush","terminal","blocking","shim","stdio","stderr"],"author":{"name":"Ben Coe","email":"ben@npmjs.com"},"license":"ISC","bugs":{"url":"https://github.com/yargs/set-blocking/issues"},"homepage":"https://github.com/yargs/set-blocking#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.11.9","mocha":"^2.4.5","nyc":"^6.4.4","standard":"^7.0.1","standard-version":"^2.2.1"},"files":["index.js","LICENSE.txt"],"gitHead":"7eec10577b5fff264de477ba3b9d07f404946eff","_id":"set-blocking@2.0.0","_shasum":"045f9782d011ae9a6803ddd382b24392b3d890f7","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"bcoe","email":"ben@npmjs.com"},"dist":{"shasum":"045f9782d011ae9a6803ddd382b24392b3d890f7","tarball":"https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz"},"maintainers":[{"name":"bcoe","email":"ben@npmjs.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/set-blocking-2.0.0.tgz_1463525966987_0.5456729622092098"},"directories":{}}},"readme":"# set-blocking\n\n[](https://travis-ci.org/yargs/set-blocking)\n[](https://www.npmjs.com/package/set-blocking)\n[](https://coveralls.io/r/yargs/set-blocking?branch=master)\n[](https://github.com/conventional-changelog/standard-version)\n\nset blocking `stdio` and `stderr` ensuring that terminal output does not truncate.\n\n```js\nconst setBlocking = require('set-blocking')\nsetBlocking(true)\nconsole.log(someLargeStringToOutput)\n```\n\n## Historical Context/Word of Warning\n\nThis was created as a shim to address the bug discussed in [node #6456](https://github.com/nodejs/node/issues/6456). This bug crops up on\nnewer versions of Node.js (`0.12+`), truncating terminal output.\n\nYou should be mindful of the side-effects caused by using `set-blocking`:\n\n* if your module sets blocking to `true`, it will effect other modules\n consuming your library. In [yargs](https://github.com/yargs/yargs/blob/master/yargs.js#L653) we only call\n `setBlocking(true)` once we already know we are about to call `process.exit(code)`.\n* this patch will not apply to subprocesses spawned with `isTTY = true`, this is\n the [default `spawn()` behavior](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options).\n\n## License\n\nISC\n","maintainers":[{"name":"bcoe","email":"ben@npmjs.com"}],"time":{"modified":"2017-07-11T07:31:18.612Z","created":"2016-05-14T21:44:13.754Z","1.0.0":"2016-05-14T21:44:13.754Z","2.0.0":"2016-05-17T22:59:27.619Z"},"homepage":"https://github.com/yargs/set-blocking#readme","keywords":["flush","terminal","blocking","shim","stdio","stderr"],"repository":{"type":"git","url":"git+https://github.com/yargs/set-blocking.git"},"author":{"name":"Ben Coe","email":"ben@npmjs.com"},"bugs":{"url":"https://github.com/yargs/set-blocking/issues"},"license":"ISC","readmeFilename":"README.md","users":{"usex":true},"_attachments":{},"_etag":"W/\"2538fd3726691583dd170d2b1f9e448b\"","_lastModified":"Sun, 27 May 2018 17:05:03 GMT","_cached":true}