{"_id":"cop","_rev":"36-8f855d14b8b336de34f4a41bd19a106b","name":"cop","description":"Filter object streams","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"cop","version":"0.0.0","description":"emit value for particular key","main":"index.js","directories":{"test":"test"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"tap":">=0.3.1","event-stream":">=3.0.2","fstream":">=0.1.19"},"keywords":["stream","filter"],"author":{"name":"Michael Nisi"},"license":"MIT","_id":"cop@0.0.0","dist":{"shasum":"67672b810e3cf4ad9d0b5e8646689be10522aa08","tarball":"https://registry.npmjs.org/cop/-/cop-0.0.0.tgz","integrity":"sha512-0sx2+MDdXEPimMqromjI4VI8YUPPbP0x3+/7b5dFtiO2w9bpsAjNyGOsleyYBVEDqsrQtjoJSc0s5t0UWZ9v1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCy/ugIs6vgwtUe7re/r/C3g7Eq+aDvVQA5y0rNxasNqgIhAOJ0ZDb9gneuqc0mKnzIIpvZvT3vvP2IKsCJCXksT9uN"}]},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.0.1":{"name":"cop","version":"0.0.1","description":"emit value for particular key","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"tap":">=0.3.1","event-stream":">=3.0.2","fstream":">=0.1.19"},"keywords":["stream","filter"],"author":{"name":"Michael Nisi"},"license":"MIT","_id":"cop@0.0.1","dist":{"shasum":"b5c3f975fcb609131110f83e51af5c4308d8c83b","tarball":"https://registry.npmjs.org/cop/-/cop-0.0.1.tgz","integrity":"sha512-9DpVuFvpJzyiHf2BZn6AMKmbMm8ystaUApK+fmzb18NvRkTg+tJhjy/mdjhoXXgWsWAz0P+w390UB1UDVUnEaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHFMPk7k0Tockad5jGY9qjZq/bmbSSjVEZig3w3hw8OCAiEA/KAI/KcmdfkWJEL8h0Xq9iS+09/IK2YUEnpKVWGtuio="}]},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.1.0":{"name":"cop","version":"0.1.0","description":"Filter stream","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"tap":">=0.3.1","event-stream":">=3.0.2","fstream":">=0.1.19"},"keywords":["stream","filter"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","_id":"cop@0.1.0","dist":{"shasum":"c0c2f0e88a9048e8695f01cfeabb6abaa1c7ee2e","tarball":"https://registry.npmjs.org/cop/-/cop-0.1.0.tgz","integrity":"sha512-+q6uJRxB4NDVxF03MJS+UGKZt6N/vsgo6jJH8ZzSFNZwGLs3t+x6amkR9N9ij8syW27I+pRgIpkzf1Hk7+SKAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdXt4ltto1gavmc0r9TmYbp5abnlBNhoPilNl7ig75egIgHS5sig9MworLwEUtVrweI+HS/A5NNvHNIwl4mVYRMNs="}]},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.2.0":{"name":"cop","version":"0.2.0","description":"Filter stream","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"tap":">=0.3.1","event-stream":">=3.0.2","fstream":">=0.1.19"},"keywords":["stream","filter"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","_id":"cop@0.2.0","dist":{"shasum":"bf79dc5a00d754ae59147982dab23d95696f352d","tarball":"https://registry.npmjs.org/cop/-/cop-0.2.0.tgz","integrity":"sha512-Wyqg6o0Oupipc2skWpxAZLhSHLPiCeOUm/a6fp6bZvJQfcJF12v8oD7GYKlYrZkyPC7Pvtjc/2MfiaacfNfVhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEYWSanpVQgCCl51mrA1hME4YyFjqa0vDjAv4qlGuSJwIgHdcTeRrrCxQbS3842kmZUu+dOoIbb6aMECgJSTd+DYA="}]},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.2.1":{"name":"cop","version":"0.2.1","description":"Filter stream","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"tap":">=0.3.1","event-stream":">=3.0.2","fstream":">=0.1.19"},"keywords":["stream","filter"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","_id":"cop@0.2.1","dist":{"shasum":"67c7c2b23410137f828762c9dccac7ac513be74f","tarball":"https://registry.npmjs.org/cop/-/cop-0.2.1.tgz","integrity":"sha512-9AXgquLJd2IQ97oSwCJBNcAs7DXK20K8FHn5f314haRIi9un5EnnVB8ZMijVsj2zckAWzRppXN7A00jji40hzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGtltFr0qUapSPc+/awNtyTQbgz4rrA5ShRXKWsx53tSAiBo3mX0oDUOp9dFhAym4VZGcP49pbzaRsNmlAW3OQGvcw=="}]},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.2.2":{"name":"cop","version":"0.2.2","description":"Filter stream","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"dependencies":{"through":"2.2.x"},"devDependencies":{"tap":"0.4.x","event-stream":"3.0.x","fstream":"0.1.x"},"keywords":["stream","filter"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","_id":"cop@0.2.2","dist":{"shasum":"1b2e8378579b3e94f556c3c85d734eed314a658f","tarball":"https://registry.npmjs.org/cop/-/cop-0.2.2.tgz","integrity":"sha512-vqGYp/3SO2fohDufYCeG6GTRTQyQR9osn7+msTZ9AHqtUPjCvTxf49+L3OPPSqq7V5d9N05nYRqEzEFjQqYyAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGrvfBweet2VfQiUfSHjU5w4UBDqIq4JtdxPIdVG+jsxAiBaZvIrX9iU9bebJwjPRz/VwAeKfLJ0j1FT9SDim1/Z0w=="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"michaelnisi","email":"michael.nisi@gmail.com"},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.2.3":{"name":"cop","version":"0.2.3","description":"Filter stream","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"dependencies":{"through":"2.2.x"},"devDependencies":{"tap":"0.4.x","event-stream":"3.0.x","fstream":"0.1.x"},"keywords":["stream","filter"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","_id":"cop@0.2.3","dist":{"shasum":"5d1dda255b76242550e6c7f2507c9430a9257a04","tarball":"https://registry.npmjs.org/cop/-/cop-0.2.3.tgz","integrity":"sha512-Qf/L2oMZShpugTCEoz6s6EvfMcTIiPFLsJNwnGmk+2YMDL44ntZ74tT1P5y2dzVwz8BmDEUUePpCqG05ywQHkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH3afFPbBpEuytNC8Aj7KxpitsOs9DzMvYuzDavuS2myAiEAzMdoERPIzo9byCK9WIuweCiAn7Ghf80IldYDzz8t2K0="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"michaelnisi","email":"michael.nisi@gmail.com"},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.2.4":{"name":"cop","version":"0.2.4","description":"Filter stream","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"dependencies":{"through":"2.2.x"},"devDependencies":{"tap":"0.4.x","event-stream":"3.0.x","fstream":"0.1.x"},"keywords":["stream","filter"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","_id":"cop@0.2.4","dist":{"shasum":"0be39a96c7715bf37abe9772291ff3db5a4b8e78","tarball":"https://registry.npmjs.org/cop/-/cop-0.2.4.tgz","integrity":"sha512-PiKbKVOP766PJdK1p/rN2mX8J/866+uhVHaaYoHrosw+rg11FFBvEBchIAM1m/RDoCSh8XNwgaK4I7nohAjdsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3ybhM9/PucFzeawdtUWcPyrpL4IJiJMcRF3NDrumi+AiAsHe7Qmt9jOnLBZhgviRtu7S086b3ehgmYokP+vr4fhQ=="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"michaelnisi","email":"michael.nisi@gmail.com"},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.2.5":{"name":"cop","version":"0.2.5","description":"Filter stream","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"dependencies":{"through":"2.2.x"},"devDependencies":{"tap":"0.4.x","event-stream":"3.0.x","fstream":"0.1.x"},"keywords":["stream","filter"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","_id":"cop@0.2.5","dist":{"shasum":"4b658c3394b7d3af2acfaede263598cd7a147410","tarball":"https://registry.npmjs.org/cop/-/cop-0.2.5.tgz","integrity":"sha512-NRFsQKjyWJ2454my2NdN94BMiAsrUUqyrEZ2sIWmcihdYkugWdE0MKS9l2H2u0x/dSLlTwkicbHrkrwFzZuQ8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCO6wqxuTP+gotpxDxnzDGwYIsoCcTgPtS763DuHyvucgIgSH5nWRyl4Yk83s8gHvUWhKiUBzblMsl/yVAfB9B82MM="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"michaelnisi","email":"michael.nisi@gmail.com"},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.3.0":{"name":"cop","version":"0.3.0","description":"Filter stream of objects","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"tap":"0.4.x","fstream":"0.1.x"},"engines":{"node":"0.10.x"},"keywords":["filter","object","stream","streams2"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","_id":"cop@0.3.0","dist":{"shasum":"1cc62e45b2e33050063626517b26929f41d69914","tarball":"https://registry.npmjs.org/cop/-/cop-0.3.0.tgz","integrity":"sha512-bFz90SMyW/lYEgjIlxGxSrYckQWVyyElJPGbsCDL9npgoIq7Nxqv0BjoxzpmJcbvJhY/gLV5d7qJ+f/EXktAug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuD9HwHiWCDNinyWaNTT6iN7rfDaH5Jmj74VktU5pLZAiApB3UYoJ3OZFsFeogGb1c0KoiKumKPpFjfUx3NT4+7dg=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"michaelnisi","email":"michael.nisi@gmail.com"},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.3.1":{"name":"cop","version":"0.3.1","description":"Filter stream of objects","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"tap":"0.4.x","fstream":"0.1.x"},"engines":{"node":"0.10.x"},"keywords":["filter","object","stream","streams2"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","_id":"cop@0.3.1","dist":{"shasum":"44b78e019bcd51c61b6c0c2020fb77ba72fd355a","tarball":"https://registry.npmjs.org/cop/-/cop-0.3.1.tgz","integrity":"sha512-CjJKTNHoQVlrLTdlSZCR31Kzk35rSDodKG4TRg3kLbckgsO+3MyT8VUQlZbw33E2wqhNq1K+NvZ2y+coihc4tA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcTkScT7sVReMcFq8N1ji4h5Figq9n+gR80Gd8gLex2AiBUIukxX/lO7iPyZzzskxUcebqeEsoMDvpCNdoQIlZizQ=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"michaelnisi","email":"michael.nisi@gmail.com"},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.3.2":{"name":"cop","version":"0.3.2","description":"Filter stream of objects","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"tap":"0.4.x","fstream":"0.1.x"},"engines":{"node":"0.10.x"},"keywords":["filter","object","stream","streams2"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","_id":"cop@0.3.2","dist":{"shasum":"05009bc1e7fa4108ffd96a34fb97c11a87680436","tarball":"https://registry.npmjs.org/cop/-/cop-0.3.2.tgz","integrity":"sha512-DUspVWSb6GEovnPYyz6tGGnsgjqa8XtwyzuSqDCXbAhBGKF/SUnRel8uwQubxY+A/suPFKFe4nshV5gV3oQ+GQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFPE8JGjrMaDXTtiOmPDdYLQ7ds+RBoQJMSiXS5o4WyLAiEA2VSYchpzohlDjlEWCrysFOKM26LrMKtsVHTbaUpi5dc="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"michaelnisi","email":"michael.nisi@gmail.com"},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.3.3":{"name":"cop","version":"0.3.3","description":"Filter stream of objects","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"tap":"0.4.x","fstream":"0.1.x"},"engines":{"node":"0.10.x"},"keywords":["filter","object","stream","streams2"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","_id":"cop@0.3.3","dist":{"shasum":"aaffb05a5cdcd2fe993835a26ffd2771137fc76c","tarball":"https://registry.npmjs.org/cop/-/cop-0.3.3.tgz","integrity":"sha512-l+LZdHL69LRMKiGcKpe15JSTxbgrv2YkYSfy/tPAHcf5zPClySSSR8dCX00CYmuLnEAKOTDOP+3aqzn4wqFWSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3tiuFb9POtVPOu/m6CXQsGSl1zHbFmgVOpAsIQZCQ8AIgJ8jPMnPfp5YDNyOwB1H+vRiXpsMPnFKrHDwQFAgBZm4="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"michaelnisi","email":"michael.nisi@gmail.com"},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.3.4":{"name":"cop","version":"0.3.4","description":"Filter stream of objects","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"tap":"0.4.x","fstream":"0.1.x"},"engines":{"node":"0.10.x"},"keywords":["filter","object","stream","streams2"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","_id":"cop@0.3.4","dist":{"shasum":"c227249e870a1f0dc7a90bfc8749ec443b7e8c0d","tarball":"https://registry.npmjs.org/cop/-/cop-0.3.4.tgz","integrity":"sha512-fssYYpGWkCB3Gswl5g/mz89D1zREDrCvr/5kRqL0LxPfRVSJvt5O/MQXrIrXVuOMQZMglD36QVmBy9N59mkiXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCecmvLuhsAqtURVn9lA/FpgR/vF/CRON7NjqXAfQklQIgN3FVFHVE+mTu6QPnbNGoSVNj/T1ZIWSBsPvcYTgU07k="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"michaelnisi","email":"michael.nisi@gmail.com"},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.3.5":{"name":"cop","version":"0.3.5","description":"Filter stream of objects","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"tap":"0.4.x","fstream":"0.1.x"},"engines":{"node":"0.11.x"},"keywords":["filter","object","stream","streams2"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","bugs":{"url":"https://github.com/michaelnisi/cop/issues"},"_id":"cop@0.3.5","dist":{"shasum":"b7e5fa7168f0f7d5f8def528e7276fb0bc0cf9e7","tarball":"https://registry.npmjs.org/cop/-/cop-0.3.5.tgz","integrity":"sha512-66yX/VO5sEZmhYrTeaXAJf4fYUXEWSwDgcC6JmoL1Tp9Suhxw2NTzL5ix7r8QmHMgpLjST1z14wL/qFKv/nkuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUIwatGFJrpVE+hzb8XkdmGRRgaqI5eSMQY2YADq+eGgIhAOHU3yU1pvIA97OKt3m6sMDFQLj3V8V/k07nHebAzZbV"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"michaelnisi","email":"michael.nisi@gmail.com"},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}]},"0.3.6":{"name":"cop","version":"0.3.6","description":"Filter object streams","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"test":"tap --tap test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"tap":"0.4.x","fstream":"0.1.x"},"engines":{"node":">=0.10"},"keywords":["filter","object","stream","streams2"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","bugs":{"url":"https://github.com/michaelnisi/cop/issues"},"homepage":"https://github.com/michaelnisi/cop","_id":"cop@0.3.6","_shasum":"8f1485eb26b5481a45ef0f058e69699e16cbbeac","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"michaelnisi","email":"michael.nisi@gmail.com"},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}],"dist":{"shasum":"8f1485eb26b5481a45ef0f058e69699e16cbbeac","tarball":"https://registry.npmjs.org/cop/-/cop-0.3.6.tgz","integrity":"sha512-JB+js3riedeJxEmea7HZbV0xI4+j0/WHVYststvqtOgcEWg+bHNuYY9o1DJCeQEUY6XusaQe9CWHZP3z/zhJOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyB0nwOjhltebeax3kmS/WpWseYVNIxOa8eWK8aN9pgAIgYNTyiwroRUNokLJuy+w0R7IK9ZQhfx/jcPGhbbOtvxQ="}]}},"1.0.0":{"name":"cop","version":"1.0.0","description":"Filter object streams","main":"index.js","directories":{"test":"test","example":"example"},"scripts":{"pretest":"standard","test":"tap -b test/*.js"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"devDependencies":{"fstream":"^1.0.8","standard":"^6.0.8","tap":"^5.7.0"},"engines":{"node":">=0.10"},"keywords":["filter","object","stream","streams2"],"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"license":"MIT","dependencies":{"readable-stream":"^2.0.6"},"gitHead":"e8068db878d053678a646a69de58fa5283e73f06","bugs":{"url":"https://github.com/michaelnisi/cop/issues"},"homepage":"https://github.com/michaelnisi/cop#readme","_id":"cop@1.0.0","_shasum":"0621c7234b1a1e725168b23ffe135329539878fb","_from":".","_npmVersion":"3.8.5","_nodeVersion":"0.12.6","_npmUser":{"name":"michaelnisi","email":"michael.nisi@gmail.com"},"dist":{"shasum":"0621c7234b1a1e725168b23ffe135329539878fb","tarball":"https://registry.npmjs.org/cop/-/cop-1.0.0.tgz","integrity":"sha512-eLqUpfD6hpjlaF0uEYK7t0FI9eDYJWL2i4TLMfibDXyNBeRb4oG7L6YEjOVF7SunjoHtvQ6C62yukrtV5STXmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTuo+TIc/yGQElU5a9/UBsR/Ovo4el3dWIwAA3r0fyTAiArJ0TaeI28ge7kSnl8TnYqHTH1Sd0lDCa0RSksL5OSGA=="}]},"maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cop-1.0.0.tgz_1459667969315_0.25865338975563645"}}},"readme":"# cop - modify object stream\n\nThe **cop** [Node.js](http://nodejs.org/) package offers a `Transform` stream to conventiently cop data from object streams.\n\n[![Build Status](https://secure.travis-ci.org/michaelnisi/cop.svg)](http://travis-ci.org/michaelnisi/cop)\n\n## Creating a Cop Object\n\nUse `require('cop')` to get a `function` that returns a `Transform` stream, configured in object mode, to which you can write arbitrary data. This constructor function takes either a `String` or a `function` as its sole argument.\n\n## Emitting Named Properties\n\nSpecify a `String` to select a property, and the **cop** stream will emit the values of matching properties for all objects written to it. If an object doesn't have a property with this name, or the property's value is `null`, **the stream doesn't end**, but just skips the object and moves on the next.\n\n### cop (key)\n\n- `key` The name of the property of which to emit the value.\n\n```js\nvar cop = require('cop')\nvar stream = require('stream')\n\nvar objs = [\n  { name: 'Moe' },\n  { name: 'Larry' },\n  { name: 'Curly' }\n]\n\nvar stooges = new stream.Readable({ objectMode: true })\nstooges._read = function () {\n  stooges.push(objs.shift() || null)\n}\n\nstooges\n  .pipe(cop('name'))\n  .pipe(process.stdout)\n```\n\n## Transforming Objects\n\nTo apply custom transformations to each object, you can supply your own synchronous map `function`, which is applied with each object and is expected to return an arbitrary object to be emitted by the **cop** stream. If you want to skip the current object, you can return `null` or `undefined`—**the stream won't stop**. For asynchronous work, of course, you should write your own stream.\n\n### cop (map)\n\n- `map` A `function` which is applied to each object written to the stream.\n\nThe following use case, streaming file entries with [fstream](https://github.com/npm/fstream) and emitting just the filenames, filtering out directories; is the origin of this module. The filtering happens internally btw, sorry about that. But you get the point, you can do anything you want in the map `function`.\n\n```js\nvar cop = require('cop')\nvar fstream = require('fstream')\n\nfunction map (obj) {\n  return obj ? obj['path'] + '\\n' : undefined\n}\n\nfstream.Reader({ path: __dirname })\n  .pipe(cop(map))\n  .pipe(process.stdout)\n```\n\n## Installing Cop\n\nWith [npm](https://npmjs.org/package/cop) do:\n\n```\n$ npm install cop\n```\n\n## License\n\n[MIT License](https://raw.github.com/michaelnisi/cop/master/LICENSE)\n","maintainers":[{"name":"michaelnisi","email":"michael.nisi@gmail.com"}],"time":{"modified":"2022-06-13T23:12:19.728Z","created":"2012-09-28T20:22:05.234Z","0.0.0":"2012-09-28T20:22:06.900Z","0.0.1":"2012-09-29T17:43:20.746Z","0.1.0":"2012-10-03T04:57:18.612Z","0.2.0":"2012-10-03T16:01:21.488Z","0.2.1":"2012-10-03T16:24:50.204Z","0.2.2":"2013-02-25T10:52:24.264Z","0.2.3":"2013-02-25T11:18:09.921Z","0.2.4":"2013-02-27T19:39:01.701Z","0.2.5":"2013-04-12T07:34:16.673Z","0.3.0":"2013-04-27T17:41:56.100Z","0.3.1":"2013-04-27T18:58:49.517Z","0.3.2":"2013-05-11T16:06:25.720Z","0.3.3":"2013-05-11T17:52:10.477Z","0.3.4":"2013-05-11T17:54:40.041Z","0.3.5":"2013-12-11T08:25:48.280Z","0.3.6":"2014-05-07T15:43:51.567Z","1.0.0":"2016-04-03T07:19:31.308Z"},"author":{"name":"Michael Nisi","email":"michael.nisi@gmail.com","url":"http://michaelnisi.com"},"repository":{"type":"git","url":"git://github.com/michaelnisi/cop.git"},"homepage":"https://github.com/michaelnisi/cop#readme","keywords":["filter","object","stream","streams2"],"bugs":{"url":"https://github.com/michaelnisi/cop/issues"},"license":"MIT","readmeFilename":"README.md"}