{"_id":"@stdlib/process-read-stdin","_rev":"3336040","name":"@stdlib/process-read-stdin","description":"Read data from stdin.","dist-tags":{"latest":"0.2.1"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"time":{"modified":"2024-07-10T07:49:35.000Z","created":"2021-06-14T17:26:39.399Z","0.2.1":"2024-02-22T01:34:57.195Z","0.2.0":"2024-02-14T04:18:57.309Z","0.1.1":"2023-10-04T00:00:37.461Z","0.1.0":"2023-09-22T22:26:06.278Z","0.0.7":"2022-02-16T18:24:37.395Z","0.0.6":"2021-08-22T21:14:36.064Z","0.0.5":"2021-07-06T23:58:06.391Z","0.0.4":"2021-06-27T22:21:01.252Z","0.0.3":"2021-06-16T04:03:59.718Z","0.0.2":"2021-06-15T14:50:27.507Z","0.0.1":"2021-06-14T17:26:39.399Z"},"users":{},"author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"repository":{"type":"git","url":"git://github.com/stdlib-js/process-read-stdin.git"},"versions":{"0.2.1":{"name":"@stdlib/process-read-stdin","version":"0.2.1","description":"Read data from stdin.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","browser":"./lib/browser.js","directories":{"doc":"./docs","lib":"./lib","dist":"./dist"},"types":"./docs/types","scripts":{},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/process-read-stdin.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.2.1","@stdlib/assert-is-string":"^0.2.1","@stdlib/buffer-ctor":"^0.2.1","@stdlib/buffer-from-string":"^0.2.1","@stdlib/streams-node-stdin":"^0.2.1","@stdlib/string-format":"^0.2.1","@stdlib/utils-next-tick":"^0.2.1"},"devDependencies":{},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdutils","stdutil","utils","util","utilities","utility","process","stdin","tty","input","data","stream"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"39b81766b9d8a5e89ba4a26e5ea07f6413b46973","_id":"@stdlib/process-read-stdin@0.2.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"2d2eccc7bf1793dd313811d1ebdf53d23e5e47a8","size":10025,"noattachment":false,"key":"/@stdlib/process-read-stdin/-/@stdlib/process-read-stdin-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/process-read-stdin/download/@stdlib/process-read-stdin-0.2.1.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/process-read-stdin_0.2.1_1708565696986_0.9264152267200905"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-22T01:34:57.195Z","publish_time":1708565697195,"_source_registry_name":"default","_cnpm_publish_time":1708565697195},"0.2.0":{"name":"@stdlib/process-read-stdin","version":"0.2.0","description":"Read data from stdin.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","browser":"./lib/browser.js","directories":{"doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/process-read-stdin.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.2.0","@stdlib/assert-is-string":"^0.2.0","@stdlib/buffer-ctor":"^0.2.0","@stdlib/buffer-from-string":"^0.2.0","@stdlib/streams-node-stdin":"^0.2.0","@stdlib/string-format":"^0.2.0","@stdlib/utils-next-tick":"^0.2.0","@stdlib/error-tools-fmtprodmsg":"^0.1.1"},"devDependencies":{"@stdlib/assert-is-browser":"^0.1.1","@stdlib/assert-is-buffer":"^0.2.0","@stdlib/utils-noop":"^0.2.0","proxyquire":"^2.0.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-min":"git+https://github.com/Planeshifter/tap-min.git"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdutils","stdutil","utils","util","utilities","utility","process","stdin","tty","input","data","stream"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"7137673f0798ef13d7c9fd7becf78e557b1d583b","_id":"@stdlib/process-read-stdin@0.2.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"a9bcf84f193f22d88df4e6b8c06861dd50fe103f","size":10153,"noattachment":false,"key":"/@stdlib/process-read-stdin/-/@stdlib/process-read-stdin-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/process-read-stdin/download/@stdlib/process-read-stdin-0.2.0.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/process-read-stdin_0.2.0_1707884337124_0.7219382198387687"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-14T04:18:57.309Z","publish_time":1707884337309,"_source_registry_name":"default","_cnpm_publish_time":1707884337309},"0.1.1":{"name":"@stdlib/process-read-stdin","version":"0.1.1","description":"Read data from stdin.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","browser":"./lib/browser.js","directories":{"doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/process-read-stdin.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.1.1","@stdlib/assert-is-string":"^0.1.1","@stdlib/buffer-ctor":"^0.1.1","@stdlib/buffer-from-string":"^0.1.1","@stdlib/streams-node-stdin":"^0.1.1","@stdlib/string-format":"^0.1.1","@stdlib/utils-next-tick":"^0.1.1","@stdlib/error-tools-fmtprodmsg":"^0.1.0"},"devDependencies":{"@stdlib/assert-is-browser":"^0.1.0","@stdlib/assert-is-buffer":"^0.1.1","@stdlib/utils-noop":"^0.1.1","proxyquire":"^2.0.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-min":"git+https://github.com/Planeshifter/tap-min.git"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdutils","stdutil","utils","util","utilities","utility","process","stdin","tty","input","data","stream"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"836b37cf688bfa381fcb3cb3a2dd327f0a94ad19","_id":"@stdlib/process-read-stdin@0.1.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"d97cc726f554d804a643197827d54cdc25e31945","size":10284,"noattachment":false,"key":"/@stdlib/process-read-stdin/-/@stdlib/process-read-stdin-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/process-read-stdin/download/@stdlib/process-read-stdin-0.1.1.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/process-read-stdin_0.1.1_1696377637248_0.10031239332388231"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-04T00:00:37.461Z","publish_time":1696377637461,"_source_registry_name":"default","_cnpm_publish_time":1696377637461},"0.1.0":{"name":"@stdlib/process-read-stdin","version":"0.1.0","description":"Read data from stdin.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","browser":"./lib/browser.js","directories":{"doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/process-read-stdin.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.1.0","@stdlib/assert-is-string":"^0.1.0","@stdlib/buffer-ctor":"^0.1.0","@stdlib/buffer-from-string":"^0.1.0","@stdlib/streams-node-stdin":"^0.1.0","@stdlib/string-format":"^0.1.0","@stdlib/utils-next-tick":"^0.1.0","@stdlib/error-tools-fmtprodmsg":"^0.1.0"},"devDependencies":{"@stdlib/assert-is-browser":"^0.1.0","@stdlib/assert-is-buffer":"^0.1.0","@stdlib/utils-noop":"^0.1.0","proxyquire":"^2.0.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-min":"git+https://github.com/Planeshifter/tap-min.git"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdutils","stdutil","utils","util","utilities","utility","process","stdin","tty","input","data","stream"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"41f86d99cbb03d63f33b26b5a608ebc8703e045f","_id":"@stdlib/process-read-stdin@0.1.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"ec0e0444fdbf7b6eb61a8de201f101679d372060","size":10282,"noattachment":false,"key":"/@stdlib/process-read-stdin/-/@stdlib/process-read-stdin-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/process-read-stdin/download/@stdlib/process-read-stdin-0.1.0.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/process-read-stdin_0.1.0_1695421566082_0.745189984512751"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-22T22:26:06.278Z","publish_time":1695421566278,"_source_registry_name":"default","_cnpm_publish_time":1695421566278},"0.0.7":{"name":"@stdlib/process-read-stdin","version":"0.0.7","description":"Read data from stdin.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","browser":"./lib/browser.js","directories":{"doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/process-read-stdin.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/buffer-ctor":"^0.0.x","@stdlib/buffer-from-string":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-next-tick":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-buffer":"^0.0.x","@stdlib/utils-noop":"^0.0.x","proxyquire":"^2.0.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdutils","stdutil","utils","util","utilities","utility","process","stdin","tty","input","data","stream"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"d28dfea1e034f887ef4828a2e81de1855e57984f","_id":"@stdlib/process-read-stdin@0.0.7","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"shasum":"684ad531759c6635715a67bdd8721fc249baa200","size":10754,"noattachment":false,"key":"/@stdlib/process-read-stdin/-/@stdlib/process-read-stdin-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/process-read-stdin/download/@stdlib/process-read-stdin-0.0.7.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/process-read-stdin_0.0.7_1645035877211_0.7961554230050429"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-16T18:24:43.671Z","publish_time":1645035877395,"_cnpm_publish_time":1645035877395},"0.0.6":{"name":"@stdlib/process-read-stdin","version":"0.0.6","description":"Read data from stdin.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","browser":"./lib/browser.js","directories":{"doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/process-read-stdin.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/buffer-ctor":"^0.0.x","@stdlib/buffer-from-string":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-next-tick":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-buffer":"^0.0.x","@stdlib/utils-noop":"^0.0.x","proxyquire":"^2.0.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdutils","stdutil","utils","util","utilities","utility","process","stdin","tty","input","data","stream"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"d98535505b3a2d9314efe1eefaae64b9fa8b76a6","_id":"@stdlib/process-read-stdin@0.0.6","_nodeVersion":"16.7.0","_npmVersion":"7.20.3","dist":{"shasum":"d350a48be313fca6e7be3a26f75f59265ba58a25","size":10598,"noattachment":false,"key":"/@stdlib/process-read-stdin/-/@stdlib/process-read-stdin-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/process-read-stdin/download/@stdlib/process-read-stdin-0.0.6.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/process-read-stdin_0.0.6_1629666875932_0.2964606458936787"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:22.753Z","publish_time":1629666876064,"_cnpm_publish_time":1629666876064},"0.0.5":{"name":"@stdlib/process-read-stdin","version":"0.0.5","description":"Read data from stdin.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","browser":"./lib/browser.js","directories":{"example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/process-read-stdin.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/buffer-ctor":"^0.0.x","@stdlib/buffer-from-string":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-next-tick":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-buffer":"^0.0.x","@stdlib/utils-noop":"^0.0.x","proxyquire":"^2.0.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdutils","stdutil","utils","util","utilities","utility","process","stdin","tty","input","data","stream"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"d00e1bfdfb19ff32b11b84d6aaadddefb4786d14","_id":"@stdlib/process-read-stdin@0.0.5","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"41b7ce7d3a09a1fc274e07a98fa0bf0e788e39be","size":10666,"noattachment":false,"key":"/@stdlib/process-read-stdin/-/@stdlib/process-read-stdin-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/process-read-stdin/download/@stdlib/process-read-stdin-0.0.5.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/process-read-stdin_0.0.5_1625615886216_0.2647575367437569"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:21.018Z","publish_time":1625615886391,"_cnpm_publish_time":1625615886391},"0.0.4":{"name":"@stdlib/process-read-stdin","version":"0.0.4","description":"Read data from stdin.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","browser":"./lib/browser.js","directories":{"example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/process-read-stdin.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/buffer-ctor":"^0.0.x","@stdlib/buffer-from-string":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-next-tick":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-buffer":"^0.0.x","@stdlib/utils-noop":"^0.0.x","proxyquire":"^2.0.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdutils","stdutil","utils","util","utilities","utility","process","stdin","tty","input","data","stream"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"f4f115446c34f870d5c9f8ce9e7f4c60965fbfa0","_id":"@stdlib/process-read-stdin@0.0.4","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"c3fae789ce161d9de6902f6b64c4a941feb6a461","size":10666,"noattachment":false,"key":"/@stdlib/process-read-stdin/-/@stdlib/process-read-stdin-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/process-read-stdin/download/@stdlib/process-read-stdin-0.0.4.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/process-read-stdin_0.0.4_1624832461123_0.04817382037600981"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:19.308Z","publish_time":1624832461252,"_cnpm_publish_time":1624832461252},"0.0.3":{"name":"@stdlib/process-read-stdin","version":"0.0.3","description":"Read data from stdin.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","browser":"./lib/browser.js","directories":{"example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/process-read-stdin.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/buffer-ctor":"^0.0.x","@stdlib/buffer-from-string":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-next-tick":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-buffer":"^0.0.x","@stdlib/utils-noop":"^0.0.x","proxyquire":"^2.0.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdutils","stdutil","utils","util","utilities","utility","process","stdin","tty","input","data","stream"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"c1340f12687751ed91bcc635504eefc9a9b4b2c9","_id":"@stdlib/process-read-stdin@0.0.3","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"c82bc621ab017c323bca2f4f80172e560c931c87","size":10600,"noattachment":false,"key":"/@stdlib/process-read-stdin/-/@stdlib/process-read-stdin-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/process-read-stdin/download/@stdlib/process-read-stdin-0.0.3.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/process-read-stdin_0.0.3_1623816239503_0.2135265188964306"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:17.651Z","publish_time":1623816239718,"_cnpm_publish_time":1623816239718},"0.0.2":{"name":"@stdlib/process-read-stdin","version":"0.0.2","description":"Read data from stdin.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","browser":"./lib/browser.js","directories":{"example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/process-read-stdin.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/buffer-ctor":"^0.0.x","@stdlib/buffer-from-string":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-next-tick":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-buffer":"^0.0.x","@stdlib/utils-noop":"^0.0.x","proxyquire":"^2.0.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdutils","stdutil","utils","util","utilities","utility","process","stdin","tty","input","data","stream"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"71aa8930f44ffae0cde80e0e9df8745129180f53","_id":"@stdlib/process-read-stdin@0.0.2","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"d9c2dcce97e4f6f9c5e6f174833b9ba769412045","size":13706,"noattachment":false,"key":"/@stdlib/process-read-stdin/-/@stdlib/process-read-stdin-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/process-read-stdin/download/@stdlib/process-read-stdin-0.0.2.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/process-read-stdin_0.0.2_1623768627391_0.8679635352422157"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:15.990Z","publish_time":1623768627507,"_cnpm_publish_time":1623768627507},"0.0.1":{"name":"@stdlib/process-read-stdin","version":"0.0.1","description":"Read data from stdin.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","browser":"./lib/browser.js","directories":{"example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/process-read-stdin.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/buffer-ctor":"^0.0.x","@stdlib/buffer-from-string":"^0.0.x","@stdlib/streams-node-stdin":"^0.0.x","@stdlib/utils-next-tick":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-buffer":"^0.0.x","@stdlib/utils-noop":"^0.0.x","proxyquire":"^2.0.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdutils","stdutil","utils","util","utilities","utility","process","stdin","tty","input","data","stream"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"5669246b75f931ba67aa6c62c7e99f33039a90a0","_id":"@stdlib/process-read-stdin@0.0.1","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"shasum":"ff7078dda6960aef1215dac98ee4039335556e53","size":13766,"noattachment":false,"key":"/@stdlib/process-read-stdin/-/@stdlib/process-read-stdin-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/process-read-stdin/download/@stdlib/process-read-stdin-0.0.1.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/process-read-stdin_0.0.1_1623691599227_0.3865299138452696"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:14.335Z","publish_time":1623691599399,"_cnpm_publish_time":1623691599399}},"readme":"<!--\n\n@license Apache-2.0\n\nCopyright (c) 2018 The Stdlib Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n-->\n\n\n<details>\n  <summary>\n    About stdlib...\n  </summary>\n  <p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>\n  <p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>\n  <p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>\n  <p>To join us in bringing numerical computing to the web, get started by checking us out on <a href=\"https://github.com/stdlib-js/stdlib\">GitHub</a>, and please consider <a href=\"https://opencollective.com/stdlib\">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>\n</details>\n\n# stdin\n\n[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->\n\n> Read data from [`stdin`][@stdlib/streams/node/stdin].\n\n<section class=\"installation\">\n\n## Installation\n\n```bash\nnpm install @stdlib/process-read-stdin\n```\n\n</section>\n\n<section class=\"usage\">\n\n## Usage\n\n```javascript\nvar stdin = require( '@stdlib/process-read-stdin' );\n```\n\n#### stdin( \\[encoding,] clbk )\n\nReads data from [`stdin`][@stdlib/streams/node/stdin].\n\n<!-- run-disable -->\n\n```javascript\nfunction onRead( error, data ) {\n    if ( error ) {\n        return console.error( 'Error: %s', error.message );\n    }\n    console.log( data.toString() );\n    // => '...'\n}\n\nstdin( onRead );\n```\n\nBy default, returned `data` is a [`Buffer`][buffer]. To return a `string` of a specified encoding, provide an `encoding` parameter.\n\n<!-- run-disable -->\n\n```javascript\nfunction onRead( error, data ) {\n    if ( error ) {\n        return console.error( 'Error: %s', error.message );\n    }\n    console.log( data );\n    // => '...'\n}\n\nstdin( 'utf8', onRead );\n```\n\nWhen a file's calling Node.js process is running in a [TTY][tty] context (i.e., no [`stdin`][@stdlib/streams/node/stdin]), `data` will either be an empty [`Buffer`][buffer] (no encoding provided) or an empty `string` (encoding provided).\n\n<!-- run-disable -->\n\n```javascript\nvar stream = require( '@stdlib/streams-node-stdin' );\n\nfunction onRead( error, data ) {\n    if ( error ) {\n        return console.error( 'Error: %s', error.message );\n    }\n    console.log( data );\n    // => ''\n}\n\nstream.isTTY = true;\n\nstdin( 'utf8', onRead );\n```\n\n</section>\n\n<!-- /.usage -->\n\n<section class=\"examples\">\n\n## Examples\n\n<!-- run-disable -->\n\n<!-- eslint no-undef: \"error\" -->\n\n```javascript\nvar string2buffer = require( '@stdlib/buffer-from-string' );\nvar stream = require( '@stdlib/streams-node-stdin' );\nvar stdin = require( '@stdlib/process-read-stdin' );\n\nfunction onRead( error, data ) {\n    if ( error ) {\n        console.error( 'Error: %s', error.message );\n    } else {\n        console.log( data.toString() );\n        // => 'beep boop'\n    }\n}\n\n// Fake not being in a terminal context:\nstream.isTTY = false;\n\n// Provide a callback to consume all data from `stdin`:\nstdin( onRead );\n\n// Push some data to `stdin`:\nstream.push( string2buffer( 'beep' ) );\nstream.push( string2buffer( ' ' ) );\nstream.push( string2buffer( 'boop' ) );\n\n// End the stream:\nstream.push( null );\n```\n\n</section>\n\n<!-- /.examples -->\n\n<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->\n\n<section class=\"related\">\n\n</section>\n\n<!-- /.related -->\n\n<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n\n<section class=\"main-repo\" >\n\n* * *\n\n## Notice\n\nThis package is part of [stdlib][stdlib], a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.\n\nFor more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].\n\n#### Community\n\n[![Chat][chat-image]][chat-url]\n\n---\n\n## License\n\nSee [LICENSE][stdlib-license].\n\n\n## Copyright\n\nCopyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].\n\n</section>\n\n<!-- /.stdlib -->\n\n<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n<section class=\"links\">\n\n[npm-image]: http://img.shields.io/npm/v/@stdlib/process-read-stdin.svg\n[npm-url]: https://npmjs.org/package/@stdlib/process-read-stdin\n\n[test-image]: https://github.com/stdlib-js/process-read-stdin/actions/workflows/test.yml/badge.svg?branch=v0.2.1\n[test-url]: https://github.com/stdlib-js/process-read-stdin/actions/workflows/test.yml?query=branch:v0.2.1\n\n[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/process-read-stdin/main.svg\n[coverage-url]: https://codecov.io/github/stdlib-js/process-read-stdin?branch=main\n\n<!--\n\n[dependencies-image]: https://img.shields.io/david/stdlib-js/process-read-stdin.svg\n[dependencies-url]: https://david-dm.org/stdlib-js/process-read-stdin/main\n\n-->\n\n[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg\n[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im\n\n[stdlib]: https://github.com/stdlib-js/stdlib\n\n[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors\n\n[umd]: https://github.com/umdjs/umd\n[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[deno-url]: https://github.com/stdlib-js/process-read-stdin/tree/deno\n[deno-readme]: https://github.com/stdlib-js/process-read-stdin/blob/deno/README.md\n[umd-url]: https://github.com/stdlib-js/process-read-stdin/tree/umd\n[umd-readme]: https://github.com/stdlib-js/process-read-stdin/blob/umd/README.md\n[esm-url]: https://github.com/stdlib-js/process-read-stdin/tree/esm\n[esm-readme]: https://github.com/stdlib-js/process-read-stdin/blob/esm/README.md\n[branches-url]: https://github.com/stdlib-js/process-read-stdin/blob/main/branches.md\n\n[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/process-read-stdin/main/LICENSE\n\n[buffer]: https://nodejs.org/api/buffer.html\n\n[tty]: https://nodejs.org/api/tty.html#tty_tty\n\n[@stdlib/streams/node/stdin]: https://www.npmjs.com/package/@stdlib/streams-node-stdin\n\n</section>\n\n<!-- /.links -->\n","_attachments":{},"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"license":"Apache-2.0"}