{"_id":"gulp-replace","_rev":"2819617","name":"gulp-replace","description":"A string replace plugin for gulp","dist-tags":{"latest":"1.1.3"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"time":{"modified":"2022-09-06T14:14:30.000Z","created":"2013-12-11T07:34:47.807Z","1.1.3":"2021-05-06T15:08:22.047Z","1.1.2":"2021-04-28T14:55:55.961Z","1.1.1":"2021-04-23T06:15:00.469Z","1.1.0":"2021-04-22T16:24:10.355Z","1.0.0":"2018-05-16T21:41:48.188Z","0.6.1":"2017-06-20T23:30:41.900Z","0.6.0":"2017-06-20T22:17:05.379Z","0.5.4":"2015-08-05T07:20:38.559Z","0.5.3":"2015-02-18T16:33:31.351Z","0.5.2":"2015-01-21T18:25:30.805Z","0.5.1":"2015-01-15T17:54:34.205Z","0.5.0":"2014-11-05T16:33:33.166Z","0.4.0":"2014-07-07T17:42:41.148Z","0.3.0":"2014-05-06T19:03:00.572Z","0.2.0":"2013-12-12T05:48:41.953Z","0.1.0":"2013-12-11T07:34:47.807Z"},"users":{},"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"versions":{"1.1.3":{"name":"gulp-replace","version":"1.1.3","description":"A string replace plugin for gulp","dependencies":{"@types/node":"^14.14.41","@types/vinyl":"^2.0.4","istextorbinary":"^3.0.0","replacestream":"^4.0.3","yargs-parser":">=5.0.0-security.0"},"devDependencies":{"concat-stream":"^2.0.0","mocha":"^7.0.0","npm-which":"^3.0.1","should":"^13.2.3","ts-node":"^9.1.1","typescript":"^4.2.4","vinyl":"^2.2.1"},"scripts":{"test":"mocha"},"main":"index.js","types":"index.d.ts","repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=10"},"gitHead":"66f4ae28f15d936887066d2e20e59643d7509ceb","homepage":"https://github.com/lazd/gulp-replace#readme","_id":"gulp-replace@1.1.3","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"dist":{"shasum":"8641cdca78e683e8573ca4a012e7e4ebb7e4db60","size":3946,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-1.1.3.tgz"},"directories":{},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-replace_1.1.3_1620313701877_0.9901206845943376"},"_hasShrinkwrap":false,"publish_time":1620313702047,"_cnpm_publish_time":1620313702047,"_cnpmcore_publish_time":"2021-12-16T11:42:44.126Z"},"1.1.2":{"name":"gulp-replace","version":"1.1.2","description":"A string replace plugin for gulp","dependencies":{"@types/node":"^14.14.41","@types/vinyl":"^2.0.4","istextorbinary":"^3.0.0","replacestream":"^4.0.3","yargs-parser":">=5.0.0-security.0"},"devDependencies":{"concat-stream":"^2.0.0","mocha":"^7.0.0","npm-which":"^3.0.1","should":"^13.2.3","ts-node":"^9.1.1","typescript":"^4.2.4","vinyl":"^2.2.1"},"scripts":{"test":"mocha"},"main":"index.js","types":"index.d.ts","repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=10"},"gitHead":"d9c0a224b569e3b0b49d9be3e2b4e007905fb7d9","homepage":"https://github.com/lazd/gulp-replace#readme","_id":"gulp-replace@1.1.2","_nodeVersion":"8.17.0","_npmVersion":"6.13.4","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"dist":{"shasum":"41e0d2bef2ebf5b40ccb616bc0475694ca983c87","size":3948,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-1.1.2.tgz"},"directories":{},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-replace_1.1.2_1619621755844_0.5211976027975558"},"_hasShrinkwrap":false,"publish_time":1619621755961,"_cnpm_publish_time":1619621755961,"_cnpmcore_publish_time":"2021-12-16T11:42:44.312Z"},"1.1.1":{"name":"gulp-replace","version":"1.1.1","description":"A string replace plugin for gulp","dependencies":{"istextorbinary":"^3.0.0","replacestream":"^4.0.3","yargs-parser":">=5.0.0-security.0"},"devDependencies":{"concat-stream":"^2.0.0","mocha":"^7.0.0","should":"^13.2.3","vinyl":"^2.2.1"},"scripts":{"test":"mocha"},"main":"index.js","types":"index.d.ts","repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=10"},"gitHead":"ba5b08d4ce1543dcdd041132b06dcc5b1e81b281","homepage":"https://github.com/lazd/gulp-replace#readme","_id":"gulp-replace@1.1.1","_nodeVersion":"8.17.0","_npmVersion":"6.13.4","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"dist":{"shasum":"ecb15cafa6df3cf2735aad5765be491be8b36eeb","size":3756,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-1.1.1.tgz"},"directories":{},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-replace_1.1.1_1619158500350_0.7252973600475228"},"_hasShrinkwrap":false,"publish_time":1619158500469,"_cnpm_publish_time":1619158500469,"_cnpmcore_publish_time":"2021-12-16T11:42:44.527Z"},"1.1.0":{"name":"gulp-replace","version":"1.1.0","description":"A string replace plugin for gulp","dependencies":{"istextorbinary":"^5.12.0","replacestream":"^4.0.3","yargs-parser":">=5.0.0-security.0"},"devDependencies":{"concat-stream":"^2.0.0","mocha":"^8.2.1","should":"^13.2.3","vinyl":"^2.2.1"},"scripts":{"test":"mocha"},"main":"index.js","types":"index.d.ts","repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=10"},"gitHead":"535b8799346497282aed7b9badc240550d1d4afb","homepage":"https://github.com/lazd/gulp-replace#readme","_id":"gulp-replace@1.1.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"dist":{"shasum":"a8b011b99db07f593d75bd78203ec97759e116b1","size":3759,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-1.1.0.tgz"},"directories":{},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-replace_1.1.0_1619108650202_0.9206308115448132"},"_hasShrinkwrap":false,"publish_time":1619108650355,"_cnpm_publish_time":1619108650355,"_cnpmcore_publish_time":"2021-12-16T11:42:44.743Z"},"1.0.0":{"name":"gulp-replace","version":"1.0.0","description":"A string replace plugin for gulp","dependencies":{"istextorbinary":"2.2.1","readable-stream":"^2.0.1","replacestream":"^4.0.0"},"devDependencies":{"concat-stream":"^1.5.2","mocha":"^5.1.1","should":"^13.2.1","vinyl":"^2.1.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=0.10"},"gitHead":"aaad34e4fa0e4a6c1eb74baac337735fe847398f","homepage":"https://github.com/lazd/gulp-replace#readme","_id":"gulp-replace@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"dist":{"shasum":"b32bd61654d97b8d78430a67b3e8ce067b7c9143","size":3068,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-1.0.0.tgz"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-replace_1.0.0_1526506908138_0.9015867519420631"},"_hasShrinkwrap":false,"publish_time":1526506908188,"_cnpm_publish_time":1526506908188,"_cnpmcore_publish_time":"2021-12-16T11:42:44.961Z"},"0.6.1":{"name":"gulp-replace","version":"0.6.1","description":"A string replace plugin for gulp","dependencies":{"istextorbinary":"1.0.2","readable-stream":"^2.0.1","replacestream":"^4.0.0"},"devDependencies":{"concat-stream":"^1.5.2","mocha":"^2.1.0","should":"^7.0.1","vinyl":"^0.5.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=0.10"},"gitHead":"534ccc9ae30c1a3f3c108c7be0ab4fcc51e3ddf4","homepage":"https://github.com/lazd/gulp-replace#readme","_id":"gulp-replace@0.6.1","_shasum":"11bf8c8fce533e33e2f6a8f2f430b955ba0be066","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"dist":{"shasum":"11bf8c8fce533e33e2f6a8f2f430b955ba0be066","size":3049,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-0.6.1.tgz"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-replace-0.6.1.tgz_1498001441791_0.9813022138550878"},"directories":{},"publish_time":1498001441900,"_hasShrinkwrap":false,"_cnpm_publish_time":1498001441900,"_cnpmcore_publish_time":"2021-12-16T11:42:45.187Z"},"0.6.0":{"name":"gulp-replace","version":"0.6.0","description":"A string replace plugin for gulp","dependencies":{"istextorbinary":"1.0.2","readable-stream":"^2.0.1","replacestream":"^4.0.0"},"devDependencies":{"concat-stream":"^1.5.2","mocha":"^2.1.0","should":"^7.0.1","vinyl":"^0.5.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=0.10"},"gitHead":"a69f1d9ec2609012f57b8f733c009d64560bdabf","homepage":"https://github.com/lazd/gulp-replace#readme","_id":"gulp-replace@0.6.0","_shasum":"8bdee665dda6cdef3ca045ee5edd936702121d0f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"dist":{"shasum":"8bdee665dda6cdef3ca045ee5edd936702121d0f","size":3034,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-0.6.0.tgz"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-replace-0.6.0.tgz_1497997024965_0.0357266990467906"},"directories":{},"publish_time":1497997025379,"_hasShrinkwrap":false,"_cnpm_publish_time":1497997025379,"_cnpmcore_publish_time":"2021-12-16T11:42:45.409Z"},"0.5.4":{"name":"gulp-replace","version":"0.5.4","description":"A string replace plugin for gulp","dependencies":{"istextorbinary":"1.0.2","readable-stream":"^2.0.1","replacestream":"^4.0.0"},"devDependencies":{"concat-stream":"^1.5.0","mocha":"^2.1.0","should":"^7.0.1","vinyl":"^0.5.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=0.10"},"gitHead":"5f9c92323350b84e747b1a5cd32a774666df36ee","homepage":"https://github.com/lazd/gulp-replace","_id":"gulp-replace@0.5.4","_shasum":"69a67914bbd13c562bff14f504a403796aa0daa9","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"dist":{"shasum":"69a67914bbd13c562bff14f504a403796aa0daa9","size":2636,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-0.5.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-0.5.4.tgz"},"directories":{},"publish_time":1438759238559,"_hasShrinkwrap":false,"_cnpm_publish_time":1438759238559,"_cnpmcore_publish_time":"2021-12-16T11:42:45.639Z"},"0.5.3":{"name":"gulp-replace","version":"0.5.3","description":"A string replace plugin for gulp","dependencies":{"istextorbinary":"1.0.2","replacestream":"2.0.0","through2":"0.6.3"},"devDependencies":{"event-stream":"^3.2.2","mocha":"^2.1.0","should":"^5.0.0","vinyl":"^0.4.6"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=0.10"},"homepage":"https://github.com/lazd/gulp-replace","_id":"gulp-replace@0.5.3","_shasum":"b33b28eadcdce9b0c50a30d873be298cfc99dd1c","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"dist":{"shasum":"b33b28eadcdce9b0c50a30d873be298cfc99dd1c","size":2590,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-0.5.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-0.5.3.tgz"},"directories":{},"publish_time":1424277211351,"_hasShrinkwrap":false,"_cnpm_publish_time":1424277211351,"_cnpmcore_publish_time":"2021-12-16T11:42:45.822Z"},"0.5.2":{"name":"gulp-replace","version":"0.5.2","description":"A string replace plugin for gulp","main":"index.js","dependencies":{"event-stream":"3.2.1","replacestream":"2.0.0","istextorbinary":"1.0.2"},"devDependencies":{"should":"^4.6.0","mocha":"^2.1.0","gulp-util":"^3.0.2"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=0.10"},"homepage":"https://github.com/lazd/gulp-replace","_id":"gulp-replace@0.5.2","_shasum":"35e6dfcac67eb3e5d4ebd23cca9c48e0237d901c","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"dist":{"shasum":"35e6dfcac67eb3e5d4ebd23cca9c48e0237d901c","size":2623,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-0.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-0.5.2.tgz"},"directories":{},"publish_time":1421864730805,"_hasShrinkwrap":false,"_cnpm_publish_time":1421864730805,"_cnpmcore_publish_time":"2021-12-16T11:42:46.048Z"},"0.5.1":{"name":"gulp-replace","version":"0.5.1","description":"A string replace plugin for gulp","main":"index.js","dependencies":{"event-stream":"3.2.1","replacestream":"1.0.2","istextorbinary":"1.0.0"},"devDependencies":{"should":"^4.6.0","mocha":"^2.1.0","gulp-util":"^3.0.2"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=0.10"},"homepage":"https://github.com/lazd/gulp-replace","_id":"gulp-replace@0.5.1","_shasum":"99077005145b20cbec3cdb21afaa43d15a049f1e","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"dist":{"shasum":"99077005145b20cbec3cdb21afaa43d15a049f1e","size":2621,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-0.5.1.tgz"},"directories":{},"publish_time":1421344474205,"_hasShrinkwrap":false,"_cnpm_publish_time":1421344474205,"_cnpmcore_publish_time":"2021-12-16T11:42:46.269Z"},"0.5.0":{"name":"gulp-replace","version":"0.5.0","description":"A string replace plugin for gulp","main":"index.js","dependencies":{"event-stream":"^3.1.7","replacestream":"1.0.2","istextorbinary":"^1.0.0"},"devDependencies":{"should":"^4.1.0","mocha":"^2.0.1","gulp-util":"^3.0.1"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=0.10"},"homepage":"https://github.com/lazd/gulp-replace","_id":"gulp-replace@0.5.0","_shasum":"914fb7f6b6250d3c215fa09fb6ea40b63d05db7d","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"dist":{"shasum":"914fb7f6b6250d3c215fa09fb6ea40b63d05db7d","size":2647,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-0.5.0.tgz"},"directories":{},"publish_time":1415205213166,"_hasShrinkwrap":false,"_cnpm_publish_time":1415205213166,"_cnpmcore_publish_time":"2021-12-16T11:42:46.443Z"},"0.4.0":{"name":"gulp-replace","version":"0.4.0","description":"A string replace plugin for gulp","main":"index.js","dependencies":{"event-stream":"~3.0.18","replacestream":"0.1.3","istextorbinary":"~1.0.0"},"devDependencies":{"should":"~2.1.1","mocha":"~1.15.1","gulp-util":"~2.0.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=0.8"},"homepage":"https://github.com/lazd/gulp-replace","_id":"gulp-replace@0.4.0","_shasum":"e22bc9c03e9d051b32881cc589bd3e8c4e54168a","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"dist":{"shasum":"e22bc9c03e9d051b32881cc589bd3e8c4e54168a","size":4718,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-0.4.0.tgz"},"directories":{},"publish_time":1404754961148,"_hasShrinkwrap":false,"_cnpm_publish_time":1404754961148,"_cnpmcore_publish_time":"2021-12-16T11:42:46.662Z"},"0.3.0":{"name":"gulp-replace","version":"0.3.0","description":"A string replace plugin for gulp","main":"index.js","dependencies":{"event-stream":"~3.0.18","replacestream":"0.1.3"},"devDependencies":{"should":"~2.1.1","mocha":"~1.15.1","gulp-util":"~2.0.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=0.8"},"homepage":"https://github.com/lazd/gulp-replace","_id":"gulp-replace@0.3.0","_shasum":"ffb338aa3effc58364203f3aa33b2c1cced56b53","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"dist":{"shasum":"ffb338aa3effc58364203f3aa33b2c1cced56b53","size":3378,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-0.3.0.tgz"},"directories":{},"publish_time":1399402980572,"_hasShrinkwrap":false,"_cnpm_publish_time":1399402980572,"_cnpmcore_publish_time":"2021-12-16T11:42:46.888Z"},"0.2.0":{"name":"gulp-replace","version":"0.2.0","description":"A string replace plugin for gulp","main":"index.js","dependencies":{"event-stream":"~3.0.18","replacestream":"0.0.6"},"devDependencies":{"should":"~2.1.1","mocha":"~1.15.1","gulp-util":"~2.0.0"},"scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=0.8"},"readmeFilename":"README.md","_id":"gulp-replace@0.2.0","dist":{"shasum":"ee72255c3c6f6d8ad4ef3571957ce0be7a215e08","size":2972,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"directories":{},"publish_time":1386827321953,"_hasShrinkwrap":false,"_cnpm_publish_time":1386827321953,"_cnpmcore_publish_time":"2021-12-16T11:42:47.094Z"},"0.1.0":{"name":"gulp-replace","version":"0.1.0","description":"A string replace plugin for gulp","main":"index.js","dependencies":{"event-stream":"~3.0.18"},"devDependencies":{"should":"~2.1.1","mocha":"~1.15.1","gulp-util":"~2.0.0"},"scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/lazd/gulp-replace.git"},"keywords":["gulpplugin","replace"],"author":{"name":"Larry Davis","email":"lazdnet@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"engines":{"node":">=0.6"},"readmeFilename":"README.md","_id":"gulp-replace@0.1.0","dist":{"shasum":"a118fac5dda951c26ac4c324f843686ededc96d1","size":2861,"noattachment":false,"key":"/gulp-replace/-/gulp-replace-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-replace/download/gulp-replace-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"lazd","email":"lazdnet@gmail.com"},"maintainers":[{"name":"lazd","email":"lazdnet@gmail.com"}],"directories":{},"publish_time":1386747287807,"_hasShrinkwrap":false,"_cnpm_publish_time":1386747287807,"_cnpmcore_publish_time":"2021-12-16T11:42:47.277Z"}},"readme":"# gulp-replace [![NPM version][npm-image]][npm-url] [![Build status][travis-image]][travis-url]\n\n> A string replace plugin for gulp\n\n[Read me for gulp 3](README-gulp3.md)\n\n## Usage\n\nFirst, install `gulp-replace` as a development dependency:\n\n```shell\nnpm install --save-dev gulp-replace\n# or\nyarn add --dev gulp-replace\n```\n\nThen, add it to your `gulpfile.js`:\n\n### Simple string replace\n\n```javascript\nconst replace = require('gulp-replace');\nconst { src, dest } = require('gulp');\n\nfunction replaceTemplate() {\n  return src(['file.txt'])\n    .pipe(replace('bar', 'foo'))\n    .pipe(dest('build/'));\n};\n\nexports.replaceTemplate = replaceTemplate;\n```\n\n### Simple regex replace\n\n```javascript\nconst replace = require('gulp-replace');\nconst { src, dest } = require('gulp');\n\nfunction replaceTemplate() {\n  return src(['file.txt'])\n      // See https://mdn.io/string.replace#Specifying_a_string_as_a_parameter\n      .pipe(replace(/foo(.{3})/g, '$1foo'))\n      .pipe(dest('build/'));\n};\n\nexports.replaceTemplate = replaceTemplate;\n```\n\n### String replace with function callback\n\n```javascript\nconst replace = require('gulp-replace');\nconst { src, dest } = require('gulp');\n\nfunction replaceTemplate() {\n  return src(['file.txt'])\n    .pipe(replace('foo', function handleReplace(match){ return match.reverse(); })\n    .pipe(dest('build/'))\n};\n\nexports.replaceTemplate = replaceTemplate;\n```\n\n### Regex replace with function callback\n\n```javascript\nconst replace = require('gulp-replace');\nconst { src, dest } = require('gulp');\n\nfunction replaceTemplate() {\n  return src(['file.txt'])\n    .pipe(replace(/foo(.{3})/g, function handleReplace(match, p1, offset, string) {\n      // Replace foobaz with barbaz and log a ton of information\n      // See https://mdn.io/string.replace#Specifying_a_function_as_a_parameter\n      console.log('Found ' + match + ' with param ' + p1 + ' at ' + offset + ' inside of ' + string);\n      return 'bar' + p1;\n    }))\n    .pipe(dest('build/'));\n};\n\nexports.replaceTemplate = replaceTemplate;\n```\n\n### Function callback with file object\n\n```javascript\nconst replace = require('gulp-replace');\nconst { src, dest } = require('gulp');\n\nfunction replaceTemplate() {\n  return src(['file.txt'])\n    .pipe(replace('filename', function handleReplace() {\n         // Replaces instances of \"filename\" with \"file.txt\"\n         // this.file is also available for regex replace\n         // See https://github.com/gulpjs/vinyl#instance-properties for details on available properties\n         return this.file.relative;\n       }))\n    .pipe(dest('build/'));\n};\n\nexports.replaceTemplate = replaceTemplate;\n```\n\n## API\n\n`gulp-replace` can be called with a string or regex.\n\n### replace(string, replacement[, options])\n\n> CAUTION: `replacement` could **NOT be arrow function**, because arrow function could not bind `this`\n\n#### string\n\nType: `String`\n\nThe string to search for.\n\n#### replacement\n\nType: `String` or `Function`\n\nThe replacement string or function. If `replacement` is a function, it will be called once for each match and will be passed the string that is to be replaced.\n\nThe value of `this.file` will be equal to the [vinyl instance](https://github.com/gulpjs/vinyl#instance-properties) for the file being processed.\n\n### replace(regex, replacement[, options])\n\n#### regex\n\nType: `RegExp`\n\nThe regex pattern to search for. See the [MDN documentation for RegExp] for details.\n\n#### replacement\n\nType: `String` or `Function`\n\nThe replacement string or function. See the [MDN documentation for String.replace] for details on special replacement string patterns and arguments to the replacement function.\n\nThe value of `this.file` will be equal to the [vinyl instance](https://github.com/gulpjs/vinyl#instance-properties) for the file being processed.\n\n### gulp-replace options\n\nAn optional third argument, `options`, can be passed.\n\n#### options\n\nType: `Object`\n\n##### options.skipBinary\n\nType: `boolean`  \nDefault: `true`\n\nSkip binary files. This option is `true` by default. If you want to replace content in binary files, you must explicitly set it to `false`.\n\n[MDN documentation for RegExp]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n[MDN documentation for String.replace]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#Specifying_a_string_as_a_parameter\n\n[travis-url]: https://travis-ci.org/lazd/gulp-replace\n[travis-image]: https://secure.travis-ci.org/lazd/gulp-replace.svg?branch=master\n[npm-url]: https://npmjs.org/package/gulp-replace\n[npm-image]: https://badge.fury.io/js/gulp-replace.svg\n","_attachments":{},"homepage":"https://github.com/lazd/gulp-replace#readme","bugs":{"url":"https://github.com/lazd/gulp-replace/issues"},"license":"MIT"}