{"_id":"read-glob","_rev":"21-cd7ebf239b4bc68eee2e967a8ee06f78","name":"read-glob","description":"Search files with glob pattern and read them, Observable way","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"read-glob","version":"1.0.0","description":"Search files with glob pattern and read them asynchronously","repository":{"type":"git","url":"https://github.com/shinnn/node-read-glob"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint *.js & jscs *.js","test":"node test.js | tap-spec","coverage":"istanbul cover test.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/node-read-glob/blob/master/LICENSE"}],"files":["index.js","LICENSE"],"keywords":["file","files","fs","glob","pattern","match","read","async","asynchronous","asynchronously"],"dependencies":{"glob":"^4.1.5","read-multiple-files":"^1.0.0"},"devDependencies":{"eslint":"^0.9.2","istanbul":"^0.3.2","istanbul-coveralls":"^1.0.1","jscs":"^1.7.3","nop":"^1.0.0","tap-spec":"^1.0.1","tape":"^3.0.3"},"jscsConfig":{"preset":"google","maximumLineLength":98},"gitHead":"70f23883ebde6d79d2c09dfe01a6631fa32211d5","bugs":{"url":"https://github.com/shinnn/node-read-glob/issues"},"homepage":"https://github.com/shinnn/node-read-glob","_id":"read-glob@1.0.0","_shasum":"2ee31a4d65e9b8f5911e67da809d780a357b4cc3","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"2ee31a4d65e9b8f5911e67da809d780a357b4cc3","tarball":"https://registry.npmjs.org/read-glob/-/read-glob-1.0.0.tgz","integrity":"sha512-PP7aNmjkmfPd5LsA8vAimYcgQAFXoUJQnV7JdifAyHrmi7cZlyvpPiVLVPulQ20zzcxelBJVz1i2rtYGTBy+BQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGh+5+LmrT4m7bFKWWa5qRTyLouxpXdJkOTPHLPKaXZ4AiEAn+TVksFWquzv1+O6HiDlWof9eo8pf8rVpbVuafBK7ys="}]},"directories":{}},"1.0.1":{"name":"read-glob","version":"1.0.1","description":"Search files with glob pattern and read them asynchronously","repository":{"type":"git","url":"https://github.com/shinnn/node-read-glob"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint *.js & jscs *.js","test":"node test.js | tap-spec","coverage":"istanbul cover test.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/node-read-glob/blob/master/LICENSE"}],"files":["index.js","LICENSE"],"keywords":["file","files","fs","glob","pattern","match","read","async","asynchronous","asynchronously"],"dependencies":{"assert-fs-readfile-option":"^1.0.0","glob":"^4.1.5","read-multiple-files":"^1.0.0"},"devDependencies":{"eslint":"^0.9.2","istanbul":"^0.3.2","istanbul-coveralls":"^1.0.1","jscs":"^1.7.3","nop":"^1.0.0","tap-spec":"^1.0.1","tape":"^3.0.3"},"jscsConfig":{"preset":"google","maximumLineLength":98},"gitHead":"25b038a21bb2caf1bfe19394396628cc91e7dc14","bugs":{"url":"https://github.com/shinnn/node-read-glob/issues"},"homepage":"https://github.com/shinnn/node-read-glob","_id":"read-glob@1.0.1","_shasum":"f163418b94d869fa73be42182ccb4ee97e3f0afc","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"f163418b94d869fa73be42182ccb4ee97e3f0afc","tarball":"https://registry.npmjs.org/read-glob/-/read-glob-1.0.1.tgz","integrity":"sha512-Qm6EDni50ner/QvsCDV3pmvX/BoF7bs6sOsR1Y+T/0IC8QAsYR7XAfkf12T8Z82oIztvXfUn8nrzIjLq1G3VEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDREldPyxmPlJVCQAEwyNfp8hlvfM0929N4YYowRlVZygIhAM9E1LvssDY/UB74Y9tup2DUE3FHa6B2KxIRqUcvq6+J"}]},"directories":{}},"2.0.0":{"name":"read-glob","version":"2.0.0","description":"Search files with glob pattern and read them asynchronously","repository":{"type":"git","url":"https://github.com/shinnn/node-read-glob"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint *.js && jscs *.js","test":"node test.js | tap-spec","coverage":"istanbul cover test.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/node-read-glob/blob/master/LICENSE"}],"files":["index.js","LICENSE"],"keywords":["file","files","fs","glob","pattern","match","read","async","asynchronous","asynchronously"],"dependencies":{"assert-fs-readfile-option":"^1.0.0","glob":"^4.3.0","read-multiple-files":"^1.0.0","xtend":"^4.0.0"},"devDependencies":{"eslint":"^0.10.0","istanbul":"^0.3.2","istanbul-coveralls":"^1.0.1","jscs":"^1.8.1","nop":"^1.0.0","tap-spec":"^2.1.0","tape":"^3.0.3"},"jscsConfig":{"preset":"google","maximumLineLength":98},"gitHead":"52f7ce9897ae987e0c42b53c9e1e5b54030d9ff2","bugs":{"url":"https://github.com/shinnn/node-read-glob/issues"},"homepage":"https://github.com/shinnn/node-read-glob","_id":"read-glob@2.0.0","_shasum":"ba9deb99207dca16b2cca26b5d09eec463a08b26","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.33","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"ba9deb99207dca16b2cca26b5d09eec463a08b26","tarball":"https://registry.npmjs.org/read-glob/-/read-glob-2.0.0.tgz","integrity":"sha512-jmjIpruDqkqrO4EUmhr3eyzdOD1AKaX1ZAaBKrh0oyMos3mM/adx7DjkVfozQCaZU3sNuNukiNIxzTnJlcsB+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICIXGEc7dhZ3+SuQCPoE52qs8X7sg2KCKGdj5TW0FqSLAiB5E4DCR2DfqVB5X2m9y1svgb70m2sdi56VcIe5/lFJ1A=="}]},"directories":{}},"2.1.0":{"name":"read-glob","version":"2.1.0","description":"Search files with glob pattern and read them asynchronously","repository":{"type":"git","url":"https://github.com/shinnn/node-read-glob"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"jscs *.js && eslint *.js","test":"node test.js | tap-spec","coverage":"istanbul cover test.js","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/node-read-glob/blob/master/LICENSE"}],"files":["index.js","LICENSE"],"keywords":["file","files","fs","glob","pattern","match","read","async","asynchronous","asynchronously"],"dependencies":{"assert-fs-readfile-option":"^1.0.0","glob":"^4.3.2","read-multiple-files":"^1.1.0","xtend":"^4.0.0"},"devDependencies":{"eslint":"^0.10.2","istanbul":"^0.3.5","istanbul-coveralls":"^1.0.1","jscs":"^1.9.0","tap-spec":"^2.1.2","tape":"^3.0.3"},"jscsConfig":{"preset":"google","maximumLineLength":98,"requireBlocksOnNewline":true,"validateLineBreaks":"LF"},"gitHead":"8369f191bf55aebb6268e44c45ec92dab7b3337b","bugs":{"url":"https://github.com/shinnn/node-read-glob/issues"},"homepage":"https://github.com/shinnn/node-read-glob","_id":"read-glob@2.1.0","_shasum":"04f18f10a7d0c7d96536fb1faea2e13b964f11dc","_from":".","_npmVersion":"2.1.17","_nodeVersion":"0.10.35","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"04f18f10a7d0c7d96536fb1faea2e13b964f11dc","tarball":"https://registry.npmjs.org/read-glob/-/read-glob-2.1.0.tgz","integrity":"sha512-CbIRZrAzMB5bTYGeTpqkrO9Z2uIe/czSaZxZkDYe8wCd8CpMC4Rqko3ph17EvV1+G4fsqTvYUF/xLZj0pCMXNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAE6Wv9jBmZDmFZHQvLI/zdI8Tm8201XREThDj/ogeG1AiBd3MVoeaD9IcHql82gchQ8jYS6ZEKwBKzlr3rwnSF+9Q=="}]},"directories":{}},"2.1.1":{"name":"read-glob","version":"2.1.1","description":"Search files with glob pattern and read them asynchronously","repository":{"type":"git","url":"git+https://github.com/shinnn/node-read-glob.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe index.js test.js","test":"nyc --reporter=text --reporter=html node test.js"},"license":"ISC","files":["index.js"],"keywords":["file","files","fs","glob","pattern","match","read","async","asynchronous","asynchronously"],"dependencies":{"assert-fs-readfile-option":"^1.0.0","glob":"^7.1.2","object-assign":"^4.1.1","read-multiple-files":"^1.1.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.13.1","nyc":"^11.4.1","tape":"^4.8.0","unglobbable":"^1.0.0"},"eslintConfig":{"extends":"@shinnn/node","rules":{"no-var":"off","prefer-arrow-callback":"off","prefer-template":"off"}},"gitHead":"87ff7fda8dbe0f8ba4ed1499d0726abebd4f6a28","bugs":{"url":"https://github.com/shinnn/node-read-glob/issues"},"homepage":"https://github.com/shinnn/node-read-glob#readme","_id":"read-glob@2.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-gfjGZJrAD5rL8ZiuZSCnMxrbfi4eoWrztu1k6rBM/dQrN8Q+Sa1+VzoRj/7qGnOehCLjVqDVW5u/tMLx8J4IBQ==","shasum":"64766c606d63b6ba4710e42a56d87e8d69c505ab","tarball":"https://registry.npmjs.org/read-glob/-/read-glob-2.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICwtaCVVkwQSu80GpzB3qBqtS0vlYheQboBFtE/F8MfeAiEA2/MAeDiIKuHzRd4onWA7wUjVBEAkeofOpq3edGw72Ik="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-glob-2.1.1.tgz_1513924399171_0.7427689600735903"},"directories":{}},"2.1.2":{"name":"read-glob","version":"2.1.2","description":"Search files with glob pattern and read them asynchronously","repository":{"type":"git","url":"git+https://github.com/shinnn/node-read-glob.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe index.js test.js","test":"nyc --reporter=text --reporter=html node test.js"},"license":"ISC","files":["index.js"],"keywords":["file","files","fs","glob","pattern","match","read","async","asynchronous","asynchronously"],"dependencies":{"assert-fs-readfile-option":"^1.0.0","glob":"^7.1.2","object-assign":"^4.1.1","read-multiple-files":"^1.1.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.14.0","nyc":"^11.4.1","tape":"^4.8.0","unglobbable":"^1.0.0"},"eslintConfig":{"extends":"@shinnn/node","rules":{"no-var":"off","prefer-arrow-callback":"off","prefer-template":"off"}},"gitHead":"09e19c02876f71039044e2909aca533af12fe0a7","bugs":{"url":"https://github.com/shinnn/node-read-glob/issues"},"homepage":"https://github.com/shinnn/node-read-glob#readme","_id":"read-glob@2.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-WpDKBCu6k0Ce6HzdXYfgrkQOPbKZaaWu7Xtjq4zMzkkJJgExJDWYwDIDmx4GUBUkniidNb+RZ2LTuk2nMeHZRw==","shasum":"3e22cb542dc0d7c264282d37394bcaf8ee8cdcc0","tarball":"https://registry.npmjs.org/read-glob/-/read-glob-2.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICIXjYjUamlJAsMyTg39IlRzfLESVDaSx6vq/c+x5NETAiBqzeAQOmvuCTIMZ+v8WOyA0KCvDe5BzHvnTjWZzVSYLg=="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-glob-2.1.2.tgz_1514173596468_0.14114118902944028"},"directories":{}},"2.1.3":{"name":"read-glob","version":"2.1.3","description":"Search files with glob pattern and read them asynchronously","repository":{"type":"git","url":"git+https://github.com/shinnn/node-read-glob.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe index.js test.js","test":"nyc --reporter=text --reporter=html node test.js"},"license":"ISC","files":["index.js"],"keywords":["file","files","fs","glob","pattern","match","read","async","asynchronous","asynchronously"],"dependencies":{"assert-fs-readfile-option":"^1.0.0","assert-valid-glob-opts":"^0.1.0","glob":"^7.1.2","object-assign":"^4.1.1","read-multiple-files":"^1.1.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.14.0","nyc":"^11.4.1","tape":"^4.8.0","unglobbable":"^1.0.0"},"eslintConfig":{"extends":"@shinnn/node","rules":{"no-var":"off","prefer-arrow-callback":"off","prefer-template":"off"}},"gitHead":"17566fe225d0a1c73e515c6d351293c2df3ff0cb","bugs":{"url":"https://github.com/shinnn/node-read-glob/issues"},"homepage":"https://github.com/shinnn/node-read-glob#readme","_id":"read-glob@2.1.3","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-781g+PjLPUjb2iAO+K019ignKXBMRxvPuHzn1fKBuzPYON8nsY5t9Aghpv7M4m9X9LJdz3BM3jA0/3YVBH2t2w==","shasum":"8b38c9084b51f582ebdee5948edaa63b4c67cfad","tarball":"https://registry.npmjs.org/read-glob/-/read-glob-2.1.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELnXOTS/Sp5yzMM3XQl83ihTqjr+J3hvt1MbQRjsJ1VAiEApkfoUP5XU45lRHHtZh6DmGHdqn/5hRuKo/EIlrOqM5k="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-glob-2.1.3.tgz_1514177306857_0.5573690875899047"},"directories":{}},"3.0.0-0":{"name":"read-glob","version":"3.0.0-0","description":"Search files with glob pattern and read them asynchronously","repository":{"type":"git","url":"git+https://github.com/shinnn/node-read-glob.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe index.js test.js","test":"nyc --reporter=text --reporter=html node test.js"},"license":"ISC","files":["index.js"],"keywords":["file","files","fs","glob","pattern","match","read","async","asynchronous","asynchronously"],"dependencies":{"assert-fs-readfile-option":"^1.0.0","assert-valid-glob-opts":"^0.1.0","glob":"^7.1.2","object-assign":"^4.1.1","read-multiple-files":"^1.1.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.14.0","nyc":"^11.4.1","tape":"^4.8.0","unglobbable":"^1.0.0"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"5acef88b38966598405812806c131628e72e1738","bugs":{"url":"https://github.com/shinnn/node-read-glob/issues"},"homepage":"https://github.com/shinnn/node-read-glob#readme","_id":"read-glob@3.0.0-0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-wx78CpzxXsTF5+agV8j6SVEZaJ1HXg2g3TbrtqVw8QF/S+ls5udalr0DH0vJ8j7JrFwhL4wBjv5g/ujl5GurTw==","shasum":"dd75ee549a6a6eab8ca2f6cab353cb355fbc2446","tarball":"https://registry.npmjs.org/read-glob/-/read-glob-3.0.0-0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaoEn5CfjGDnH3fDXenw5WlUtHvHkbKsnSs9Ye3iaQZgIgU96SWd882Za1PIJ0MtMIkK2uj2IkmhKjL/lOsxbg8fI="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-glob-3.0.0-0.tgz_1514347366653_0.9335016724653542"},"directories":{}},"3.0.0-1":{"name":"read-glob","version":"3.0.0-1","description":"Search files with glob pattern and read them asynchronously","repository":{"type":"git","url":"git+https://github.com/shinnn/node-read-glob.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe index.js test.js","test":"nyc --reporter=text --reporter=html node test.js"},"license":"ISC","files":["index.js"],"keywords":["file","files","fs","glob","pattern","match","read","async","asynchronous","asynchronously"],"dependencies":{"assert-fs-readfile-option":"^1.0.0","assert-valid-glob-opts":"^1.0.0","glob":"^7.1.2","read-multiple-files":"2.0.0-4"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.14.0","nyc":"^11.4.1","tape":"^4.8.0","unglobbable":"^1.0.0"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"845c8719c2ed0fe97d429f359466f51971f47386","bugs":{"url":"https://github.com/shinnn/node-read-glob/issues"},"homepage":"https://github.com/shinnn/node-read-glob#readme","_id":"read-glob@3.0.0-1","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-N9xqB/qtMcQ3BNn2yw9yaDk8wUGnY6FzHc0qzqxUlgr7501OzSA+N5obwEBhjPKI/vsQ2EiH3oxyq01FM43mog==","shasum":"54e0f0a78a15e46d5d5e58f908a715b1c6077084","tarball":"https://registry.npmjs.org/read-glob/-/read-glob-3.0.0-1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClSUvtSnLYsg6hBLy2xrYnRefwzd+GeweXspQNHwV7nQIgF3iWw3MbTNFDueAWAQhPm+iISsNhJ8r/peurildoWrU="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-glob-3.0.0-1.tgz_1514638423839_0.679759357823059"},"directories":{}},"3.0.0":{"name":"read-glob","version":"3.0.0","description":"Search files with glob pattern and read them, Observable way","repository":{"type":"git","url":"git+https://github.com/shinnn/node-read-glob.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"bench":"node benchmark/ignore-eisdir.js && node benchmark/nodir.js","pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=text --reporter=html node test.js"},"license":"ISC","files":["index.js"],"keywords":["file","files","fs","glob","pattern","match","read","async","asynchronous","asynchronously"],"dependencies":{"assert-fs-readfile-option":"^1.0.0","glob-observable":"^0.7.0","graceful-fs":"^4.1.11","inspect-with-kind":"^1.0.4","zen-observable":"^0.8.6"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.18.1","lodash":"^4.17.5","nyc":"^11.5.0","rmfr":"^2.0.0-3","tape":"^4.9.0","unglobbable":"^1.0.1"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"117a1fd34e806d9283065fdb47e2b7952063fd2e","bugs":{"url":"https://github.com/shinnn/node-read-glob/issues"},"homepage":"https://github.com/shinnn/node-read-glob#readme","_id":"read-glob@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-ywcpIVKwlKbj8vRLq5WbFju9nxDQB7VOL68260bvZPUsekwh43W6ngQ5e8znqQmLHwzEklhFi6YiAzUvlZclLw==","shasum":"4e380045e2622bb53a299d69d00f5c57dedda74d","tarball":"https://registry.npmjs.org/read-glob/-/read-glob-3.0.0.tgz","fileCount":4,"unpackedSize":7957,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7QrhADWlX8szc9DJRg1IpuKFbOBSCFli1h2oyknG73AIgAWWN50YoLFEmXSaCrvhRRwiHl3mEU2QmIJAvQwO5J9g="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-glob_3.0.0_1519628643427_0.9216213961828745"},"_hasShrinkwrap":false}},"readme":"# read-glob\n\n[![npm version](https://img.shields.io/npm/v/read-glob.svg)](https://www.npmjs.com/package/read-glob)\n[![Build Status](https://travis-ci.org/shinnn/node-read-glob.svg?branch=master)](https://travis-ci.org/shinnn/node-read-glob)\n[![Build status](https://ci.appveyor.com/api/projects/status/9cf2k7pkog7ax2fs/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/node-read-glob/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/node-read-glob.svg)](https://coveralls.io/github/shinnn/node-read-glob)\n\nSearch files with glob pattern and read them, [Observable](https://github.com/tc39/proposal-observable) way\n\n```javascript\nconst readGlob = require('read-glob');\n\nreadGlob('src/*.js').subscribe({\n  start() {\n    console.log('Glob started.');\n  },\n  next(result) {\n    result.cwd; //=> '/Users/shinnn/exmaple'\n    result.path; //=> 'src/a.js'\n    result.contents; //=> <Buffer ... >\n  },\n  complete() {\n    console.log('Glob completed.');\n  }\n});\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install read-glob\n```\n\n## API\n\n```javascript\nconst readGlob = require('read-glob');\n```\n\n### readGlob(*pattern* [, *options*])\n\n*pattern*: `string` (glob pattern)  \n*options*: `Object` ([`node-glob`] and [`fs.readFile`] options) or `string` (encoding)  \nReturn: [`Observable`](https://github.com/tc39/proposal-observable#observable) ([zenparsing's implementation](https://github.com/zenparsing/zen-observable))\n\nWhen the `Observable` is [subscribe](https://tc39.github.io/proposal-observable/#observable-prototype-subscribe)d, it starts to search files matching the given glob pattern, read their contents and successively send results to its [`Observer`](https://github.com/tc39/proposal-observable#observer).\n\n#### Results\n\nEach result is the same `Object` as [`glob-observable`'s](https://github.com/shinnn/glob-observable#match-result) with the additional `contents` property, a `Buffer` or `string` of the matched file contents.\n\n`contents` is a `string` when the `encoding` option is specified, otherwise it's a `Buffer`.\n\n```javascript\nreadGlob('hi.txt').subscribe(result => {\n  result.contents; //=> <Buffer 48 69>\n});\n\nreadGlob('hi.txt', 'utf8').subscribe(result => {\n  result.contents; //=> 'Hi'\n});\n\nreadGlob('hi.txt', 'base64').subscribe(result => {\n  result.contents; //=> 'SGk='\n});\n```\n\n#### options\n\nThe option object will be directly passed to [`node-glob`] and [`fs.readFile`], or the encoding string sets the encoding of `fs.readFile`.\n\nUnlike the original node-glob API,\n\n* `silent` and `strict` options are `true` by default.\n* `nodir` and `mark` options are not supported as it ignores directories by default.\n\n```javascript\nconst readGlob = require('read-glob');\n\n// ./directory/.dot.txt: 'Hello'\n\nreadGlob('*.txt', {\n  cwd: 'directory',\n  dot: true\n}).subscribe(({contents}) => {\n  contents.toString(); //=> 'Hello'\n});\n```\n\n## Related project\n\n* [read-glob-promise](https://github.com/shinnn/read-glob-promise) ([Promise](https://promisesaplus.com/) version)\n\n## License\n\n[ISC License](./LICENSE) © 2017 - 2018 Shinnosuke Watanabe\n\n[`fs.readFile`]: https://nodejs.org/api/fs.html#fs_fs_readfile_path_options_callback\n[`node-glob`]: https://github.com/isaacs/node-glob#options\n","maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"time":{"modified":"2022-06-26T09:13:34.471Z","created":"2014-11-20T01:48:47.522Z","1.0.0":"2014-11-20T01:48:47.522Z","1.0.1":"2014-11-20T06:03:29.994Z","2.0.0":"2014-12-02T04:23:30.618Z","2.1.0":"2014-12-27T08:30:25.748Z","2.1.1":"2017-12-22T06:33:19.290Z","2.1.2":"2017-12-25T03:46:36.606Z","2.1.3":"2017-12-25T04:48:26.935Z","3.0.0-0":"2017-12-27T04:02:46.733Z","3.0.0-1":"2017-12-30T12:53:43.908Z","3.0.0":"2018-02-26T07:04:03.493Z"},"homepage":"https://github.com/shinnn/node-read-glob#readme","keywords":["file","files","fs","glob","pattern","match","read","async","asynchronous","asynchronously"],"repository":{"type":"git","url":"git+https://github.com/shinnn/node-read-glob.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"bugs":{"url":"https://github.com/shinnn/node-read-glob/issues"},"readmeFilename":"README.md","users":{"gochomugo":true,"n370":true},"license":"ISC"}