{"_id":"vinyl-paths","_rev":"23-3ad7ab03d44b7278e23c294dc05e6925","name":"vinyl-paths","description":"Get the file paths in a `vinyl` stream","dist-tags":{"latest":"5.0.0"},"versions":{"1.0.0":{"name":"vinyl-paths","version":"1.0.0","description":"Get the file paths in a vinyl stream","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/vinyl-paths"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["gulpplugin","vinyl","gulp","paths","path","file","tap","through","stream"],"dependencies":{"through2":"^0.6.3"},"devDependencies":{"ava":"0.0.4","gulp-util":"^3.0.1"},"gitHead":"692028b3277825495adfba3551ba51c79ceca143","bugs":{"url":"https://github.com/sindresorhus/vinyl-paths/issues"},"homepage":"https://github.com/sindresorhus/vinyl-paths","_id":"vinyl-paths@1.0.0","_shasum":"fc272ada915b4c3e8264cfb06de75d3ce07c8a9e","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.32","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"fc272ada915b4c3e8264cfb06de75d3ce07c8a9e","tarball":"https://registry.npmjs.org/vinyl-paths/-/vinyl-paths-1.0.0.tgz","integrity":"sha512-stkB/shNx4puO3eCrJ8Fy5tWqAH9r01sr2G1DpLZQxkUtgiOdjS/88tiLGPEtHeBJgWmnDpm9g1irIgETYBXIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxEJNo2tPwIZLaFBup6/naUES3tfNzPkt9AEzMZOwKZgIhAJyHylx7E4E71D1erFtWIFNlH9xJP+yc9XvdWGqSfJEp"}]},"directories":{}},"2.0.0":{"name":"vinyl-paths","version":"2.0.0","description":"Get the file paths in a vinyl stream","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/vinyl-paths"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["gulpplugin","vinyl","gulp","paths","path","file","tap","through","stream"],"dependencies":{"through2":"^2.0.0"},"devDependencies":{"ava":"*","gulp-util":"^3.0.1","pinkie-promise":"^1.0.0","xo":"*"},"gitHead":"07a5e169dfece4d8a191e4295f03318f7fa57222","bugs":{"url":"https://github.com/sindresorhus/vinyl-paths/issues"},"homepage":"https://github.com/sindresorhus/vinyl-paths","_id":"vinyl-paths@2.0.0","_shasum":"ee570c97bde726adf72b2276c7b1a03663d5664e","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ee570c97bde726adf72b2276c7b1a03663d5664e","tarball":"https://registry.npmjs.org/vinyl-paths/-/vinyl-paths-2.0.0.tgz","integrity":"sha512-jMfEZWB7BM3pUrAxeyoMhzX36lSJ2m3IfTfDCiWy+O93qPzY5QxIbYBKsB5tAQI+a+gxHnzSaydkn0go6jh9bQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwOVEhdaM8v0jmww0RTxESqcbZjLnVQ7OIbcynaBRAFgIgRvhwnJ7e2bl0lxSkV87RWBGz8fYQxacwTI3TYcFjqLs="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.1.0":{"name":"vinyl-paths","version":"2.1.0","description":"Get the file paths in a vinyl stream","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/vinyl-paths"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["gulpplugin","vinyl","gulp","paths","path","file","tap","through","stream"],"dependencies":{"through2":"^2.0.0"},"devDependencies":{"ava":"*","gulp-util":"^3.0.1","pinkie-promise":"^2.0.0","xo":"*"},"gitHead":"3398351b90091e0255710ea48de9120fc1c08cbd","bugs":{"url":"https://github.com/sindresorhus/vinyl-paths/issues"},"homepage":"https://github.com/sindresorhus/vinyl-paths","_id":"vinyl-paths@2.1.0","_shasum":"00820437cba38262cef8802d840f93e3392ee44b","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"00820437cba38262cef8802d840f93e3392ee44b","tarball":"https://registry.npmjs.org/vinyl-paths/-/vinyl-paths-2.1.0.tgz","integrity":"sha512-vsJ9M1YzAdcDKlJcUqkOlSotWE8NSuludotGxHqRnySCYaqCnku5VdSKRDWB4WXJlgTLZlLvMrMobotWiCtK1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAsXtSgLWsjl/16ZT00I5FDvIJRwBHvQV4qv7LrRNCwhAiEAn1fm5WMB3V1ZO2W3awMz3GGuoh/mi/Z7IwB0ESAa8IQ="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"3.0.0":{"name":"vinyl-paths","version":"3.0.0","description":"Get the file paths in a `vinyl` stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/vinyl-paths.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["gulpplugin","vinyl","gulp","paths","path","file","tap","through","stream"],"dependencies":{"through2":"^3.0.1"},"devDependencies":{"ava":"^1.4.1","vinyl":"^2.2.0","xo":"^0.24.0"},"gitHead":"4d07cd5d386b6120c3b0176ccb029dbccdbaf505","bugs":{"url":"https://github.com/sindresorhus/vinyl-paths/issues"},"homepage":"https://github.com/sindresorhus/vinyl-paths#readme","_id":"vinyl-paths@3.0.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-8UiUPcZopECG0Ld10GAmNTH0BrSrtPWCxhNKn81/0XDGau+TWyjZ70+ZZN2SzG4Z539uZWF2xAtunJTNEff7dw==","shasum":"ccb41231c7a5e01e66e255d77c399b0dffc65892","tarball":"https://registry.npmjs.org/vinyl-paths/-/vinyl-paths-3.0.0.tgz","fileCount":4,"unpackedSize":4105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7WQOCRA9TVsSAnZWagAARhQP/00xhwQtbiSsCoRlxJSh\n3W9WfuWniljzB2FG1+tKwwRkeYs/iI99y4TxdFFXWy5XDkD8uPUrbrb7VkL+\n2biw2fvt5oDnJ/+12ByJtOJ8QL+h+ijG/qhabSSke3vWJBKwDiVSY4Pzifj5\nxvNeO/W9v+Sw7FrBa1NSUdH1cP1iAImcSk7BCqDc7Ep+rywE+18qgkBDmlT7\n9X7EjNZjUigXYAXisWEr8gvO1a4Vc8yE5iVYGEZ0nWbgOrlWhpBxCC9nfSHk\n8vCdHikqRKcy4xEMZtAg6VnzL4lTG6F/cINJNgn+cyTdIzXNWYb1Z8XvbBe9\npa4zN/vbmewu9dSfdXW106x/e+dIGRJCEg4F8cd0SOosGQaE8aSmeFuwvHAk\nFqxFCIeyULafKbOp6iBfjoXyJt+bAXd3PyprH1gbIkTug5H5MHCgjDN/VauX\nFA0WQznEYm5qPfriXJntm3+ekL36BEj/Dk9qrQOgzD5ytdXieS3hdYggCzdS\nKRSvA9iVYzJ5f7XxDQ5ewSd3nW/HcI0bd1fDvRiRkc5nhUY6kfJj3efQotTM\nIfmBcswH6T39edR9Rqwhi15atiTiqSt9uXLmzPAeAEM9boQm/7QeuBKaCwvA\noczSDvmtDtBXyb8QkG+lDFLk9+7U/Aany6lW/WrwV0w8dE36a6cUdNRtxuXr\nwG5g\r\n=WVHE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCr+nRIQ8IfWxD+3eX3wCx7ZbqsdWaGHH0hq8Vzrjm2aAIgKuCd+ipO0bm9gz4U79wbc1u6/IvYyp4NSLQSxePUEo8="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vinyl-paths_3.0.0_1559061517613_0.6003647740305782"},"_hasShrinkwrap":false},"3.0.1":{"name":"vinyl-paths","version":"3.0.1","description":"Get the file paths in a `vinyl` stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/vinyl-paths.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["gulpplugin","vinyl","gulp","paths","path","file","tap","through","stream"],"dependencies":{"through2":"^3.0.1"},"devDependencies":{"ava":"^2.4.0","vinyl":"^2.2.0","xo":"^0.25.3"},"gitHead":"3683e96540cd34c1fa131b0ddea4aeb3df878d45","bugs":{"url":"https://github.com/sindresorhus/vinyl-paths/issues"},"homepage":"https://github.com/sindresorhus/vinyl-paths#readme","_id":"vinyl-paths@3.0.1","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-fpjimhur1emSbJSvy5dJjDklCFEh2LvQRSHPzMQlYFjPrdFMHAyzSe1fiLzykoqg9X2tqH8evhsOUDNT55a0sw==","shasum":"16b42404e21ebddfb75954863f553af3345d56b5","tarball":"https://registry.npmjs.org/vinyl-paths/-/vinyl-paths-3.0.1.tgz","fileCount":4,"unpackedSize":4129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy7ZxCRA9TVsSAnZWagAAsmMP/0UGwxHa6hPZqT6+S4cL\ne8gcVbChykE9p/e+j+5t7fcyNmEniOK6Z8Di4Af16Og765BWkfV9+Y6vcEhB\nkZfcEXL6IcpjRzTBZHKLwpl7FunoFTIC3gaY2uZg0su62O7lirdxCPqFAgDP\nDbdhjYEmnyNL4ZBpp7qTFDY6pWOfahNR0uzPe5FP2MeofXim7jWwCjef+Jav\nfPYy+wCF5VpEncVgTAmM4W+S9+miXv9LZr1jXYDrJCkHvT/l+pbV8aUVVzvm\n8/4PRopZo3krd3ZHsKIyCGrXpVloRWXtqDapqjnZ9LPHGIcbQJHpsnCldfgT\no87f2W+cK+5hPEiaMOqs8h7uvFMQR06f97wvWJh23lt/g2xHM5XRmLkpn19p\nULmv96Hco3pNP8im3TMTKMzzqyaZTeRJxNlQcI6n0DNNkIrtTaKyb9QfC7ME\nUH3RDnkP52QoWrvOZyMrFe+gH9ameutzl/wpimMjRzXY8tBoNRtznqQcSb9z\n1wau6+aRCpkU3/jX1nORrpYL+tzth0+oFRAuUS2mTgbDchbO+OVjskLkLLmd\nWT7kHgB3EbcCKgNjQMyR7VQ3IMepPGgiszlBNKwIeUD6F30TqwKwYTIW/2B3\nIS2EBMoBkl3CbQgjicf2ZX0ilVv7Als4aHuPFLRkLIJ15GYwzNkgMjXOfVCR\n7FVy\r\n=KUWw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQsmCSxI7yWyF9Dec3nDrcHw7FY5PY/0Q0S8SXtDcooQIgfPt9xn6MZz/8rlFRQNiutluYfrK++NGBCfA5DfEjliU="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vinyl-paths_3.0.1_1573631601195_0.46325546477666846"},"_hasShrinkwrap":false},"4.0.0":{"name":"vinyl-paths","version":"4.0.0","description":"Get the file paths in a `vinyl` stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/vinyl-paths.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava"},"keywords":["gulpplugin","vinyl","gulp","paths","path","file","tap","through","stream"],"dependencies":{"through2":"^4.0.2"},"devDependencies":{"ava":"^3.15.0","vinyl":"^2.2.1","xo":"^0.44.0"},"gitHead":"5c5d15c60e1c5712952fa9c0325b65b998f312e7","bugs":{"url":"https://github.com/sindresorhus/vinyl-paths/issues"},"homepage":"https://github.com/sindresorhus/vinyl-paths#readme","_id":"vinyl-paths@4.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"integrity":"sha512-7LmsEWQoDHfLfJoF2SGT+vll4W/67XNAcQUW3Q48j3Rv7CoF/ptbp1IaXMgJTIjOIF7ehrbRFG0h1du+/gVaIQ==","shasum":"373dad1fac8d00322d8c3c356ac20526553224be","tarball":"https://registry.npmjs.org/vinyl-paths/-/vinyl-paths-4.0.0.tgz","fileCount":4,"unpackedSize":4188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhGVEGCRA9TVsSAnZWagAA8psP/jGegTVN4dnHX7UomY5f\nmTedwnYDq/+xdoeXJD+fLScd8wtuEw8bIW0/GtOem4arTExXPFniw1sWnZX0\nLHdfgqI4JAxMCihCz9IPsygR3AFpZC1lLiqzBVbJ5/C5e5E4UzPBz3Gahz5w\nFhq0S4N0miO8QkB4TJquuMqtnPLsX5Nv48TBGYU0R2TcCRXot7B41h7YN10a\n7UTC9RwIeWuaiU2juqgcexv9O6kievfJIHlA7VP4///TNcPHKJhXsZvpF7dk\nSnX6H6cmqZLlXo3BwqePdxzMQuiIIpCIdWM5rw+vNyuEv+ccxcvvCsHYg+xX\npYmvD+ZrSNSP3GzUsf/2pRLLc7hvKyr+/qnV3hoWx7Ovumqv8tz6MIZD4+Px\nvD2/ZJwHhTBkjG9qgNffRiQCLflhYJ5Qo/jSO5iXh8eudR1HE/m2rHBZgbFe\ndOtovrWz4VGCdG4Y/4pC/5t7iYtID5mSxov0l4Cm/OmPz8FW/33HW9YmLU21\nm41ZHkuvCiCO27v2RI49uTEigZ64BU0pEFkiTHjq/O99zHUV56zLaut0BslZ\nEEUhLK/6PYSjqrkq4qGfelr5unfadXn6pftZqCj7iU33C7eEjYZyTOc2rikA\nbdSeSyKn0vpwb11Enww4/iTN8NoZtENJV2zRvOerqB5oLXcIxC+NEqTCLbnh\nTd2J\r\n=9JGN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID5NxUFccEQFsbsIfCCGygvw+BVBLwEM1kjWqoUMIgZsAiEAyHSZT4Hgj8cUgFlW+4AH+2kK6HUVpBfSrJpqIW+CSIA="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vinyl-paths_4.0.0_1629049093868_0.025046932011690837"},"_hasShrinkwrap":false},"5.0.0":{"name":"vinyl-paths","version":"5.0.0","description":"Get the file paths in a `vinyl` stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/vinyl-paths.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=14.16"},"scripts":{"test":"xo && ava"},"keywords":["gulpplugin","vinyl","gulp","paths","path","file","tap","through","stream"],"dependencies":{"easy-transform-stream":"^1.0.0"},"devDependencies":{"ava":"^3.15.0","p-event":"^5.0.1","vinyl":"^2.2.1","xo":"^0.44.0"},"gitHead":"5af510895654284b4d099235ca2c6a2e2e3d72f9","bugs":{"url":"https://github.com/sindresorhus/vinyl-paths/issues"},"homepage":"https://github.com/sindresorhus/vinyl-paths#readme","_id":"vinyl-paths@5.0.0","_nodeVersion":"14.19.3","_npmVersion":"8.3.2","dist":{"integrity":"sha512-mlclGXHx/ZWInRh92Ti/qaJAZSDmfXL9TsUVs5z8mKueiS76GtVaZYD2vEtm4RePAt69vGZGHKe5d790CPcd1g==","shasum":"fc59c79e61479daa371e22553cd0d82ee3027a66","tarball":"https://registry.npmjs.org/vinyl-paths/-/vinyl-paths-5.0.0.tgz","fileCount":4,"unpackedSize":4063,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDxaPZso7hsFEsfO2XNvOy2IGwy4Q8rX6XBwl++5+tV4AiEA16Ugo0hqONUz+jcfmHNDwo8Wr2QhQH2gXo1xz9yDqFU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi39XoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrgxw/+PX9Af7PqE8e85F84T4atIzPqc+xG7zyiWAB7n0d7QYIfbOPa\r\nc9wUlysqg20QDjIVy4VMwoqbtFdpwVNWZ9pR3nSKTbArtI8E8Z91CztUiGrg\r\n448A5kUuzTxt0c5F3WHyI7SDN9cgylV41fhy2/djUywdvIx+/4xBJnggpZ99\r\nox1ayBS6s1E5nHPYCYTVpLWRnRNy/QTVWNopYdYFGmN75bX8vas2EDniMata\r\n108bOpiV9Crbc3tsHb5oS+Za3m/tTDtsI2F31o1+Xe/OfyGO1QDo91cTVL45\r\nbjOgAUzYM9l7/qrHG2ej6+Wv/4tqE+DROl5CNxWadXl210m7GHDw7aLXEnQs\r\nTl5kOsoxeNHaSAgUpJO2iMERe9jhJyMP6TxGJaxTqJrNyIIF046zJhRx6aNv\r\naPeD1IjJtUpT72/ecmmSNO9b95wwUZZ2RybnGWj9Nh6/p1N1JdjtX19Zxb8y\r\neBMbU74jkAockvog9qmcFQB41HoGUNmlhyzPb3uGXfwsVCg9rpxjmTwE3877\r\nGjgd0LDiZVlNJCiDPj8PQxt/ycI6cAJamxoFp1/Rwv4hLhVW5JpVcX37HK1x\r\n7IuLYfHLGPnTTQFYeXHzsmQD2yR7rFAdjFgMWkK8KA1tBodrSfikfeCsVZpn\r\nacuDrhZNME3qh7Kj5Wp04E1kZWoBgG7wO1w=\r\n=dHEH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vinyl-paths_5.0.0_1658836456533_0.5758604125351847"},"_hasShrinkwrap":false}},"readme":"# vinyl-paths\n\n> Get the file paths in a [`vinyl`](https://github.com/gulpjs/vinyl) stream\n\nUseful when you need to use the file paths from a Gulp pipeline in an async Node.js package.\n\nSimply pass an async function such as [`del`](https://github.com/sindresorhus/del) and this package will provide each path in the stream as the first argument.\n\n## Install\n\n```sh\nnpm install vinyl-paths\n```\n\n## Usage\n\n```js\n// gulpfile.js\nimport gulp from 'gulp';\nimport stripDebug from 'gulp-strip-debug';\nimport del from 'del';\nimport vinylPaths from 'vinyl-paths';\n\n// Log file paths in the stream\nexport function log() {\n\treturn gulp.src('app/*')\n\t\t.pipe(stripDebug())\n\t\t.pipe(vinylPaths(async paths => {\n\t\t\tconsole.log('Paths:', paths);\n\t\t});\n}\n\n// Delete files in the stream\nexport function delete() {\n\treturn gulp.src('app/*')\n\t\t.pipe(stripDebug())\n\t\t.pipe(vinylPaths(del));\n}\n\n// Or if you need to use the paths after the pipeline\nexport function delete2() {\n\treturn new Promise((resolve, reject) => {\n\t\tconst vp = vinylPaths();\n\n\t\tgulp.src('app/*')\n\t\t\t.pipe(vp)\n\t\t\t.pipe(gulp.dest('dist'))\n\t\t\t.on('end', async () => {\n\t\t\t\ttry {\n\t\t\t\t\tawait del(vp.paths);\n\t\t\t\t\tresolve();\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\t\t\t});\n\t});\n}\n```\n\n*You should only use a vanilla Node.js package like this if you're already using other plugins in the pipeline, otherwise just use the module directly as `gulp.src` is costly. Remember that Gulp tasks can return promises as well as streams!*\n\n## API\n\n### vinylPaths(callback?)\n\nThe optional callback will receive a file path for every file and is expected to return a promise. An array of the file paths so far is available as a `paths` property on the stream.\n\n#### callback(path)\n\n## Related\n\n- [gulp-revert-path](https://github.com/sindresorhus/gulp-revert-path) - Revert the previous `file.path` change\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2022-07-26T11:54:16.786Z","created":"2014-11-13T09:24:32.670Z","1.0.0":"2014-11-13T09:24:32.670Z","2.0.0":"2015-08-31T20:42:33.101Z","2.1.0":"2015-11-14T19:46:05.145Z","3.0.0":"2019-05-28T16:38:37.727Z","3.0.1":"2019-11-13T07:53:21.302Z","4.0.0":"2021-08-15T17:38:14.013Z","5.0.0":"2022-07-26T11:54:16.713Z"},"homepage":"https://github.com/sindresorhus/vinyl-paths#readme","keywords":["gulpplugin","vinyl","gulp","paths","path","file","tap","through","stream"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/vinyl-paths.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/vinyl-paths/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"pstoev":true,"evanj0hnson":true,"thierrymarianne":true,"marcelohmdias":true,"kurre":true,"kontrax":true,"manux":true,"cognivator":true,"mobeicaoyuan":true,"maxwang":true,"ccd3v":true,"yinfxs":true}}