{"_id":"gulp-transform","_rev":"19-7012e2fd91600b7a677615384bec507b","name":"gulp-transform","description":"A Gulp plugin for applying custom transformations to the contents of files","dist-tags":{"latest":"3.0.5"},"versions":{"1.0.1":{"name":"gulp-transform","version":"1.0.1","description":"Gulp plugin for performing arbitrary transformations on the contents of files.","main":"index.js","files":["index.js","LICENSE.txt","README.md"],"scripts":{"test":"mocha","coverage":"istanbul cover _mocha && open ./coverage/lcov-report/index.html","coveralls":"istanbul cover _mocha && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"engines":{"node":">=0.10"},"repository":{"type":"git","url":"git+https://github.com/akim-mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/akim-mcmath/gulp-transform/issues"},"homepage":"https://github.com/akim-mcmath/gulp-transform#readme","peerDependencies":{"gulp":"^3.0.0"},"dependencies":{"gulp-util":"^3.0.7","lodash.isfunction":"^3.0.6","lodash.isobject":"^3.0.2","lodash.isstring":"^3.0.1"},"devDependencies":{"chai":"^3.4.1","coveralls":"^2.11.6","event-stream":"^3.3.2","istanbul":"^0.4.1","mocha":"^2.3.4","sinon":"^1.17.2","sinon-chai":"^2.8.0"},"gitHead":"6be5306eb32dcae966d89daf8a2b68ebaa1ea2f8","_id":"gulp-transform@1.0.1","_shasum":"05414a9ad3f1651b613c926c654e5466a3a81434","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"},"dist":{"shasum":"05414a9ad3f1651b613c926c654e5466a3a81434","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-1.0.1.tgz","integrity":"sha512-FrJWQFPd707KnUJkezTenjpX629KCoGiQySFiZsPUpxQ9VJau3pp1+6kCvKLRkGilX4i7nIkEyKCyKGdlXY13g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAb+RHUtxghhj/waVXHrI0Itl8SdZjXWO+4ygoNHy/OgAiEAx/s0r3cPamj+zgliyS2YMDIpeqkt+yGqrW7sFp0C85E="}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}]},"1.0.2":{"name":"gulp-transform","version":"1.0.2","description":"Gulp plugin for performing arbitrary transformations on the contents of files.","main":"index.js","files":["index.js","LICENSE.txt","README.md"],"scripts":{"test":"mocha","clean":"rm -rf ./node_modules ./coverage","coverage":"istanbul cover _mocha && open ./coverage/lcov-report/index.html","coveralls":"istanbul cover _mocha && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"engines":{"node":">=0.10"},"repository":{"type":"git","url":"git+https://github.com/akim-mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/akim-mcmath/gulp-transform/issues"},"homepage":"https://github.com/akim-mcmath/gulp-transform#readme","peerDependencies":{"gulp":"^3.0.0"},"dependencies":{"gulp-util":"^3.0.7"},"devDependencies":{"chai":"^3.4.1","coveralls":"^2.11.6","event-stream":"^3.3.2","istanbul":"^0.4.1","mocha":"^2.3.4","sinon":"^1.17.2","sinon-chai":"^2.8.0"},"gitHead":"6953a23b64389b9009d826a6f73977de34093071","_id":"gulp-transform@1.0.2","_shasum":"df53d93d5010483f62f02ba520f360ae1247b9b3","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"},"dist":{"shasum":"df53d93d5010483f62f02ba520f360ae1247b9b3","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-1.0.2.tgz","integrity":"sha512-zdAuX48yqH8O8kHeUQ6Zf3IH9vnVVat9iRgSLsUy7hlXijM6wCkT02v65CIgIb0A/+Z///gBZXqQz6Fpiy8Hgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCg/DxQjXenSlIjrlpDIPGjaOD/fqhT7g2I3MjW7tla7gIgR0f1/bm4Fz8ctKXvetELA2icsaranddCxtBP1VfcciY="}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}]},"1.0.3":{"name":"gulp-transform","version":"1.0.3","description":"Gulp plugin for performing arbitrary transformations on the contents of files.","main":"index.js","files":["index.js","LICENSE.txt","README.md"],"scripts":{"test":"mocha","clean":"rm -rf ./node_modules ./coverage","coverage":"istanbul cover _mocha && open ./coverage/lcov-report/index.html","coveralls":"istanbul cover _mocha && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"engines":{"node":">=0.10"},"repository":{"type":"git","url":"git+https://github.com/akim-mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/akim-mcmath/gulp-transform/issues"},"homepage":"https://github.com/akim-mcmath/gulp-transform#readme","peerDependencies":{"gulp":"^3.0.0"},"dependencies":{"gulp-util":"^3.0.7"},"devDependencies":{"chai":"^3.4.1","cheerio":"^0.19.0","coveralls":"^2.11.6","event-stream":"^3.3.2","gulp":"^3.9.0","istanbul":"^0.4.1","mocha":"^2.3.4","rimraf":"^2.5.1","sinon":"^1.17.2","sinon-chai":"^2.8.0"},"gitHead":"a5b7e84b45a2cb3695421443920552a81fb64861","_id":"gulp-transform@1.0.3","_shasum":"f4b39fc6d3fe2f07433df77f358fcf7475b556c4","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"},"dist":{"shasum":"f4b39fc6d3fe2f07433df77f358fcf7475b556c4","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-1.0.3.tgz","integrity":"sha512-TTlFzJnw/4hOyGr7S2pLhQQL/Vlt1Dramq2LNvq0EJMVTEwuhH+nMAb0Ya/PdRRKRjGI5Q25FHvv4XT0k5GjgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrw2HMp/Y0v4mmDIC1FWI02SHLGEa2TSCHLmKhi0aHQQIhAOKX/DY9L3Twd1+Lc4Uv7YSCX2mDCTEaT/iK84mS58xb"}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}]},"1.0.4":{"name":"gulp-transform","version":"1.0.4","description":"Gulp plugin for performing arbitrary transformations on the contents of files.","main":"index.js","files":["index.js","LICENSE.txt","README.md"],"scripts":{"test":"mocha","clean":"rm -rf ./node_modules ./coverage","coverage":"istanbul cover _mocha && open ./coverage/lcov-report/index.html","coveralls":"istanbul cover _mocha && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"engines":{"node":">=0.10"},"repository":{"type":"git","url":"git+https://github.com/akim-mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","wrapper","wrap"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/akim-mcmath/gulp-transform/issues"},"homepage":"https://github.com/akim-mcmath/gulp-transform#readme","peerDependencies":{"gulp":"^3.0.0"},"dependencies":{"gulp-util":"^3.0.7"},"devDependencies":{"chai":"^3.5.0","cheerio":"^0.19.0","coveralls":"^2.11.6","event-stream":"^3.3.2","gulp":"^3.9.0","istanbul":"^0.4.2","mocha":"^2.4.5","rimraf":"^2.5.1","sinon":"^1.17.2","sinon-chai":"^2.8.0"},"gitHead":"e63799e8e3e9ac0cea599af29d9d727792904d3a","_id":"gulp-transform@1.0.4","_shasum":"fac73ebd5489124d71c80ce18247f3ee2f60574f","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"},"dist":{"shasum":"fac73ebd5489124d71c80ce18247f3ee2f60574f","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-1.0.4.tgz","integrity":"sha512-CTntam6+ZpCfzxrMDDYjWliHIs883O8EmG4GfR4hDPvzLXK05VQVJ63RrHrlNbFOMd8g5f3wgFn/oBiNSNdyHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEFr6qkr1hFGFuW5DE5BqQU7uDZzNNNbUYkdyaI1zLDAiEA52DwU6p3oDvTO4U6AVKUwua25+anbNRNEFB0bMQJtyI="}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/gulp-transform-1.0.4.tgz_1454698310272_0.18401426984928548"}},"1.0.5":{"name":"gulp-transform","version":"1.0.5","description":"Gulp plugin for performing arbitrary transformations on the contents of files.","main":"index.js","files":["index.js","LICENSE.txt","README.md"],"scripts":{"test":"mocha","clean":"rm -rf ./node_modules ./coverage","coverage":"istanbul cover _mocha && open ./coverage/lcov-report/index.html","coveralls":"istanbul cover _mocha && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"engines":{"node":">=0.10"},"repository":{"type":"git","url":"git+https://github.com/akim-mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","wrapper","wrap"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/akim-mcmath/gulp-transform/issues"},"homepage":"https://github.com/akim-mcmath/gulp-transform#readme","peerDependencies":{"gulp":"^3.0.0"},"dependencies":{"gulp-util":"^3.0.7"},"devDependencies":{"chai":"^3.5.0","cheerio":"^0.20.0","coveralls":"^2.11.6","event-stream":"^3.3.2","gulp":"^3.9.1","istanbul":"^0.4.2","mocha":"^2.4.5","rimraf":"^2.5.1","sinon":"^1.17.3","sinon-chai":"^2.8.0"},"gitHead":"ec20e08d7993668b9179233662a557c0bb4bda78","_id":"gulp-transform@1.0.5","_shasum":"d9c69fd27af74edeb17e9b7a20860ed6396fbfc2","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"},"dist":{"shasum":"d9c69fd27af74edeb17e9b7a20860ed6396fbfc2","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-1.0.5.tgz","integrity":"sha512-nK0vPDB6rfdOkmX26sTw/2vXUtgqZRXOOqlDREk4V2VyaJBNWi2m/YnOjllzan1/gLd/6r50e37mvns4EeZxFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOPoJhc6NjgEAtuydWVCqtEk5DNN5zABbFfsg2eK9hHwIgIMfI4aQFHJR/CMKssFYQdIHQd67rVk46JoCRE6J3AtA="}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/gulp-transform-1.0.5.tgz_1455083255798_0.5939482590183616"}},"1.0.6":{"name":"gulp-transform","version":"1.0.6","description":"Gulp plugin for performing arbitrary transformations on the contents of files.","main":"index.js","files":["index.js","LICENSE.txt","README.md"],"scripts":{"test":"npm run jshint && npm run jscs && npm run mocha","jshint":"jshint . --exclude-path .gitignore","jscs":"jscs .","mocha":"istanbul cover _mocha","coverage":"npm test && open ./coverage/lcov-report/index.html","clean":"rm -rf ./node_modules ./coverage","coveralls":"cat ./coverage/lcov.info | coveralls","preversion":"npm run test"},"engines":{"node":">=0.10"},"repository":{"type":"git","url":"git+https://github.com/akim-mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","wrapper","wrap"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/akim-mcmath/gulp-transform/issues"},"homepage":"https://github.com/akim-mcmath/gulp-transform#readme","peerDependencies":{"gulp":"^3.0.0"},"dependencies":{"gulp-util":"^3.0.7"},"devDependencies":{"chai":"^3.5.0","cheerio":"^0.20.0","coveralls":"^2.11.6","event-stream":"^3.3.2","gulp":"^3.9.1","istanbul":"^0.4.2","jscs":"^2.9.0","jshint":"^2.9.1","mocha":"^2.4.5","rimraf":"^2.5.1","sinon":"^1.17.3","sinon-chai":"^2.8.0"},"gitHead":"cc9b0835869dddec9017c2c71533588626892988","_id":"gulp-transform@1.0.6","_shasum":"296954e763069e3db78d1c2ba790f39af7461519","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"},"dist":{"shasum":"296954e763069e3db78d1c2ba790f39af7461519","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-1.0.6.tgz","integrity":"sha512-JejWmDlmrtpdMA7Dzg4E886gWJwKej6X5AfXx7QXkUhEe6bC27jqeFkDzRCufbyTztiGMRuY52TxJ6ZPwC7NCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGmNODZTU4hJCcFCMML6LSqEHUoVXkmNUn1VVohgWI+AiA8XxE5VAjJJTCB5ooiJBDG+RH3EtmLOc1PrnXSft/ukg=="}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/gulp-transform-1.0.6.tgz_1455188342202_0.2540445290505886"}},"1.0.7":{"name":"gulp-transform","version":"1.0.7","description":"Perform arbitrary transformations on files","main":"lib/index.js","scripts":{"build":"npm run unbuild && babel src -d lib","unbuild":"rimraf lib","test:lint":"eslint src","test:unit":"istanbul cover _mocha","test:report":"npm run test:unit && open coverage/lcov-report/index.html","test":"npm run test:lint && npm run test:unit","coverage":"npm test && open ./coverage/lcov-report/index.html","coveralls":"cat coverage/lcov.info | coveralls"},"engines":{"node":">=0.10"},"repository":{"type":"git","url":"git+https://github.com/akim-mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","wrapper","wrap"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/akim-mcmath/gulp-transform/issues"},"homepage":"https://github.com/akim-mcmath/gulp-transform#readme","peerDependencies":{"gulp":"3.x"},"dependencies":{"gulp-util":"^3.0.7","lodash":"^4.13.1"},"devDependencies":{"babel-cli":"^6.9.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","chai":"^3.5.0","coffee-script":"^1.10.0","coveralls":"^2.11.9","eslint":"^2.11.1","event-stream":"^3.3.2","istanbul":"1.0.0-alpha.2","mocha":"^2.5.3","rimraf":"^2.5.2","sinon":"^1.17.4","sinon-chai":"^2.8.0"},"gitHead":"ad32fa2f20826765022f8a9ce2b3f1d123a4f9be","_id":"gulp-transform@1.0.7","_shasum":"d1fcec9a62671af9e454c4ee45f8148a01e401db","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"},"dist":{"shasum":"d1fcec9a62671af9e454c4ee45f8148a01e401db","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-1.0.7.tgz","integrity":"sha512-urySDNHwaUTAuQg66SyZV8PnVvErrNmRg1x6iN1tLSFDxxIYq3wBatAAEnIRw4Ifsm7hL2msDZiEFczS34WW9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICL5JYtnd3fJwL6na8LelarhC7Z6EosihJNPimnLOc+/AiBoJlIjN5BoctIjNwuT8lkZxkp8uKgftgUVqHKwC/3PpQ=="}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-transform-1.0.7.tgz_1465518616209_0.5509570543654263"}},"1.0.8":{"name":"gulp-transform","version":"1.0.8","description":"Perform arbitrary transformations on files","main":"lib/index.js","scripts":{"build":"npm run unbuild && babel src -d lib","unbuild":"rimraf lib","test:lint":"eslint src","test:unit":"istanbul cover _mocha","test:report":"npm run test:unit && open coverage/lcov-report/index.html","test":"npm run test:lint && npm run test:unit","coverage":"npm test && open ./coverage/lcov-report/index.html","coveralls":"cat coverage/lcov.info | coveralls"},"engines":{"node":">=0.10"},"repository":{"type":"git","url":"git+https://github.com/akim-mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","wrapper","wrap"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/akim-mcmath/gulp-transform/issues"},"homepage":"https://github.com/akim-mcmath/gulp-transform#readme","peerDependencies":{"gulp":"3.x"},"dependencies":{"gulp-util":"^3.0.7","lodash":"^4.13.1"},"devDependencies":{"babel-cli":"^6.9.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","chai":"^3.5.0","coffee-script":"^1.10.0","coveralls":"^2.11.9","eslint":"^2.11.1","event-stream":"^3.3.2","istanbul":"1.0.0-alpha.2","mocha":"^2.5.3","rimraf":"^2.5.2","sinon":"^1.17.4","sinon-chai":"^2.8.0"},"gitHead":"557e9a005d2ade3d310128b1622e462b4eef4230","_id":"gulp-transform@1.0.8","_shasum":"03c9be138604e10b53b240c8ef351353bcd6c8ef","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"},"dist":{"shasum":"03c9be138604e10b53b240c8ef351353bcd6c8ef","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-1.0.8.tgz","integrity":"sha512-u91If1kBkWhmoPd2WRoMUlvCok8chS+xb6EiXrBZJHH4l05z66BUKgyYTRqtSEFvxO4T3x0unO6zDLI+9TNlhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlg9T3BR0N+FikyW6ob3NOScWqO27jAbGyYjeUHfjm2gIhAKR33GckMHl58tinIKuo57ds2PzFCoTtWPGMijbRNX6k"}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/gulp-transform-1.0.8.tgz_1467234717998_0.3498687252867967"}},"1.1.0":{"name":"gulp-transform","version":"1.1.0","description":"Perform arbitrary transformations on files","main":"lib/index.js","scripts":{"build":"npm run unbuild && babel src -d lib","unbuild":"rimraf lib","test:lint":"eslint src","test:unit":"istanbul cover _mocha","test:report":"npm run test:unit && open coverage/lcov-report/index.html","test":"npm run test:lint && npm run test:unit","coverage":"npm test && open ./coverage/lcov-report/index.html","coveralls":"cat coverage/lcov.info | coveralls"},"engines":{"node":">=0.10"},"repository":{"type":"git","url":"git+https://github.com/akim-mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","wrapper","wrap"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/akim-mcmath/gulp-transform/issues"},"homepage":"https://github.com/akim-mcmath/gulp-transform#readme","peerDependencies":{"gulp":"3.x"},"dependencies":{"es6-promise":"^4.0.5","gulp-util":"^3.0.7","lodash":"^4.13.1"},"devDependencies":{"babel-cli":"^6.9.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","chai":"^3.5.0","coffee-script":"^1.10.0","coveralls":"^2.11.9","eslint":"^2.13.1","event-stream":"^3.3.2","istanbul":"1.1.0-alpha.1","mocha":"^3.1.2","rimraf":"^2.5.2","sinon":"^1.17.4","sinon-chai":"^2.8.0"},"gitHead":"3456dcc4c209abeb47fe4c9a66168c2c20cbd3bd","_id":"gulp-transform@1.1.0","_shasum":"6e28fdb78756b315df4f08925c58e5379d3bdd02","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.1","_npmUser":{"name":"akim-mcmath","email":"mcmath@hotmail.com"},"dist":{"shasum":"6e28fdb78756b315df4f08925c58e5379d3bdd02","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-1.1.0.tgz","integrity":"sha512-f7kGEFo6tn48CRt61KKP1vM1Rh9mdYastSPaA0G/uzJ34mSaPrHIUi28K9bzrGW8QIdR3/rGnWZks6X66le00A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTjwJw33fCzDO1r/d9Ot1oaQGtJsoqE986th6Fl26r5gIhAMPQObSgpTsmpW3uVxiWpmNrXJi4F/HF1fCY5ebcr0Bn"}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/gulp-transform-1.1.0.tgz_1476875229325_0.30287907691672444"}},"2.0.0":{"name":"gulp-transform","version":"2.0.0","description":"Perform arbitrary transformations on files","main":"lib/index.js","scripts":{"build":"npm run unbuild && babel src -d lib","unbuild":"rimraf lib","test:lint":"eslint src","test:unit":"istanbul cover _mocha","test:report":"npm run test:unit && open coverage/lcov-report/index.html","test":"npm run test:lint && npm run test:unit","coverage":"npm test && open ./coverage/lcov-report/index.html","coveralls":"cat coverage/lcov.info | coveralls"},"engines":{"node":">=4"},"repository":{"type":"git","url":"git+https://github.com/mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","wrapper","wrap"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mcmath/gulp-transform/issues"},"homepage":"https://github.com/mcmath/gulp-transform#readme","dependencies":{"gulp-util":"^3.0.8","lodash":"^4.17.4"},"devDependencies":{"babel-cli":"^6.24.1","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.24.1","babel-register":"^6.24.1","chai":"^3.5.0","coffee-script":"^1.12.5","coveralls":"^2.13.1","eslint":"^3.19.0","event-stream":"^3.3.4","istanbul":"1.1.0-alpha.1","mocha":"^3.3.0","rimraf":"^2.6.1","sinon":"^2.2.0","sinon-chai":"^2.10.0"},"gitHead":"775bbf0140e8d51e130a62a369f4e55e2479f489","_id":"gulp-transform@2.0.0","_shasum":"7ac7e3e3e06ed7ebc52847b9b4e2a3686b22e5a2","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"akim-mcmath","email":"mcmath@hotmail.com"},"dist":{"shasum":"7ac7e3e3e06ed7ebc52847b9b4e2a3686b22e5a2","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-2.0.0.tgz","integrity":"sha512-M1AeXApx/oMAjhxQZkB5fnnKpWEm24pp1GWis83DhpzsGHt2tfqIVxbGwxazmuXM84XZz7d4Z4octDRNftKryg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvZ0zoU2SX4vY87caMp0qtINh5UZvemSF7C0otU08ctwIhAJ9QFh1Yhccf6DdoAc5O/kRukgahdWCmGNzgJfpZ9jCj"}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-transform-2.0.0.tgz_1494523072541_0.6834922498092055"}},"3.0.0":{"name":"gulp-transform","version":"3.0.0","description":"A Gulp plugin for applying custom transformations to the contents of files","main":"./lib/index.js","types":"./lib/index.d.ts","scripts":{"build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf coverage lib","test:lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","test:unit":"istanbul cover -e .ts -x \"spec/**/*.ts\" _mocha -- --opts mocha.opts","test":"npm run test:lint && npm run test:unit","report":"npm test && open coverage/lcov-report/index.html","coverage":"cat coverage/lcov.info | coveralls"},"engines":{"node":">=4"},"repository":{"type":"git","url":"git+https://github.com/mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","map","typescript"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mcmath/gulp-transform/issues"},"homepage":"https://github.com/mcmath/gulp-transform#readme","dependencies":{"@types/node":"*","@types/gulp-util":"*","gulp-util":"^3.0.8","tslib":"^1.7.1"},"devDependencies":{"@types/chai":"^4.0.1","@types/chai-as-promised":"0.0.31","@types/lodash":"^4.14.71","@types/mocha":"^2.2.41","@types/sinon":"^2.3.3","@types/sinon-chai":"^2.7.28","chai":"^4.1.0","chai-as-promised":"^7.1.1","istanbul":"1.1.0-alpha.1","lodash":"^4.17.4","mocha":"^3.4.2","rimraf":"^2.6.1","sinon":"^2.4.1","sinon-chai":"^2.12.0","ts-node":"^3.3.0","tslint":"^5.5.0","typescript":"^2.4.2"},"gitHead":"f5cd4f3f4b01114f0c35a23c5897ced3eeb0610f","_id":"gulp-transform@3.0.0","_shasum":"6066b7edeb60fb9a7db07c0b0c640b9a99bd11d2","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"akim-mcmath","email":"mcmath@hotmail.com"},"dist":{"shasum":"6066b7edeb60fb9a7db07c0b0c640b9a99bd11d2","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-3.0.0.tgz","integrity":"sha512-+WL0/8f+KY9277FO82jF0obH3CgPUGvwAM6clKfDV44A5rAs45BDj+9rdixl8Y3KJ/7gAUUf11d28GPEWK9iIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNtBScRM0GkS68A/LnOb/hJEMtT7ntI5NNNS1BGPa5hAiEAhSc1PeBQDMntBNIGK8FglprNAHNKU05Y1LNCmpRutHY="}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-transform-3.0.0.tgz_1501320316704_0.8372403364628553"}},"3.0.1":{"name":"gulp-transform","version":"3.0.1","description":"A Gulp plugin for applying custom transformations to the contents of files","main":"./lib/index.js","types":"./lib/index.d.ts","scripts":{"build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf coverage lib","test:lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","test:unit":"istanbul cover -e .ts -x \"spec/**/*.ts\" _mocha -- --opts mocha.opts","test":"npm run test:lint && npm run test:unit","report":"npm test && open coverage/lcov-report/index.html","coverage":"cat coverage/lcov.info | coveralls"},"engines":{"node":">=4"},"repository":{"type":"git","url":"git+https://github.com/mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","map","typescript"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mcmath/gulp-transform/issues"},"homepage":"https://github.com/mcmath/gulp-transform#readme","dependencies":{"@types/node":"*","@types/gulp-util":"*","gulp-util":"^3.0.8","tslib":"^1.7.1"},"devDependencies":{"@types/chai":"^4.0.1","@types/chai-as-promised":"0.0.31","@types/lodash":"^4.14.71","@types/mocha":"^2.2.41","@types/sinon":"^2.3.3","@types/sinon-chai":"^2.7.28","chai":"^4.1.0","chai-as-promised":"^7.1.1","istanbul":"1.1.0-alpha.1","lodash":"^4.17.4","mocha":"^3.4.2","rimraf":"^2.6.1","sinon":"^2.4.1","sinon-chai":"^2.12.0","ts-node":"^3.3.0","tslint":"^5.5.0","typescript":"^2.4.2"},"gitHead":"85cb12051a9f24b49bbd304b3a88c512b40ba9ba","_id":"gulp-transform@3.0.1","_shasum":"4550853ff478910c540954960f9e8ad959b8d5a3","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"akim-mcmath","email":"mcmath@hotmail.com"},"dist":{"shasum":"4550853ff478910c540954960f9e8ad959b8d5a3","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-3.0.1.tgz","integrity":"sha512-7mV9fmKRL6svmxBQOjL+un5hb4JPu6RsGP3ShiPXJlAUOX5dfolZ9Jz0JnWO//H1+qI4OFM8mXPOpRbNpn89mQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7d9NM1ihvDKb5Sb1Ue4lcfnVQb2fJMhltpiP4k7tOIAIhAL1zEcdbwxZbNhQmCmQax/wvylWMcQvC8ztVEfqi2ilw"}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-transform-3.0.1.tgz_1501320932755_0.20806356868706644"}},"3.0.2":{"name":"gulp-transform","version":"3.0.2","description":"A Gulp plugin for applying custom transformations to the contents of files","main":"./lib/index.js","types":"./lib/index.d.ts","scripts":{"build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf coverage lib","test:lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","test:unit":"istanbul cover -e .ts -x \"spec/**/*.ts\" _mocha -- --opts mocha.opts","test":"npm run test:lint && npm run test:unit","report":"npm test && open coverage/lcov-report/index.html","coverage":"cat coverage/lcov.info | coveralls"},"engines":{"node":">=4"},"repository":{"type":"git","url":"git+https://github.com/mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","map","typescript"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mcmath/gulp-transform/issues"},"homepage":"https://github.com/mcmath/gulp-transform#readme","dependencies":{"@types/node":"*","@types/gulp-util":"*","gulp-util":"^3.0.8","tslib":"^1.7.1"},"devDependencies":{"@types/chai":"^4.0.1","@types/chai-as-promised":"0.0.31","@types/lodash":"^4.14.71","@types/mocha":"^2.2.41","@types/sinon":"^2.3.3","@types/sinon-chai":"^2.7.28","chai":"^4.1.0","chai-as-promised":"^7.1.1","coveralls":"^2.13.1","istanbul":"1.1.0-alpha.1","lodash":"^4.17.4","mocha":"^3.4.2","rimraf":"^2.6.1","sinon":"^2.4.1","sinon-chai":"^2.12.0","ts-node":"^3.3.0","tslint":"^5.5.0","typescript":"^2.4.2"},"gitHead":"a9d1f76f763f1129449a1dad08740bc296dcd083","_id":"gulp-transform@3.0.2","_shasum":"b5311c6d9971f4ab52e439e1ba01ab6199c5525e","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"akim-mcmath","email":"mcmath@hotmail.com"},"dist":{"shasum":"b5311c6d9971f4ab52e439e1ba01ab6199c5525e","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-3.0.2.tgz","integrity":"sha512-mYwTuGxexAw4fLtE9m02psc9YT6fZkGUscs5akSmgynHNnrPZlygyCH4cZU7VwHWVKgkKICYl5Ab5s4G07frrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHFJA03qqciAl7+s0iycA7cHnQIhpB8GeEh0BUtKsBy6AiEArOImPoYthCjfa6pFvDLXq0gNYXJO3NXHSs9tsAj3WGw="}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-transform-3.0.2.tgz_1501321262682_0.5744382007978857"}},"3.0.3":{"name":"gulp-transform","version":"3.0.3","description":"A Gulp plugin for applying custom transformations to the contents of files","main":"./lib/index.js","types":"./lib/index.d.ts","scripts":{"build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf coverage lib","test:lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","test:unit":"istanbul cover -e .ts -x \"spec/**/*.ts\" _mocha -- --opts mocha.opts","test":"npm run test:lint && npm run test:unit","report":"npm test && open coverage/lcov-report/index.html","coverage":"cat coverage/lcov.info | coveralls"},"engines":{"node":">=4"},"repository":{"type":"git","url":"git+https://github.com/mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","map","typescript"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mcmath/gulp-transform/issues"},"homepage":"https://github.com/mcmath/gulp-transform#readme","dependencies":{"@types/node":"*","@types/gulp-util":"*","gulp-util":"^3.0.8","tslib":"^1.7.1"},"devDependencies":{"@types/chai":"^4.0.1","@types/chai-as-promised":"0.0.31","@types/lodash":"^4.14.71","@types/mocha":"^2.2.41","@types/sinon":"^2.3.3","@types/sinon-chai":"^2.7.28","chai":"^4.1.0","chai-as-promised":"^7.1.1","coveralls":"^2.13.1","istanbul":"1.1.0-alpha.1","lodash":"^4.17.4","mocha":"^3.4.2","rimraf":"^2.6.1","sinon":"^2.4.1","sinon-chai":"^2.12.0","ts-node":"^3.3.0","tslint":"^5.5.0","typescript":"^2.4.2"},"gitHead":"52ec85681221e60bd5b477924d80bcbb8d8ffc9e","_id":"gulp-transform@3.0.3","_shasum":"b801e7c94ed9e48810d3d882932b037382e7b0aa","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"akim-mcmath","email":"mcmath@hotmail.com"},"dist":{"shasum":"b801e7c94ed9e48810d3d882932b037382e7b0aa","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-3.0.3.tgz","integrity":"sha512-CjZC7GN99fiMFK9cDsMRizi1AIBJdJXQL76Eyn8gJ1SfCS0np0pToYsrJP7gMWLNVaGQRorRopwJSZgmGy/8sQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwZbk59x5GotNCXvG0EA6g+RgiGgog1QvMSk8xj1jLnQIhAIxsWDD4GYkvyGjDcoe7RyLIkrXiebFZlkKzOgn/j2U/"}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-transform-3.0.3.tgz_1501327871925_0.4155051684938371"}},"3.0.4":{"name":"gulp-transform","version":"3.0.4","description":"A Gulp plugin for applying custom transformations to the contents of files","main":"./lib/index.js","types":"./lib/index.d.ts","scripts":{"build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf coverage lib","test:lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","test:unit":"istanbul cover -e .ts -x \"spec/**/*.ts\" _mocha -- --opts mocha.opts","test":"npm run test:lint && npm run test:unit","report":"npm test && open coverage/lcov-report/index.html","coverage":"cat coverage/lcov.info | coveralls"},"engines":{"node":">=4"},"repository":{"type":"git","url":"git+https://github.com/mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","map","typescript"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mcmath/gulp-transform/issues"},"homepage":"https://github.com/mcmath/gulp-transform#readme","dependencies":{"@types/node":"*","@types/gulp-util":"*","gulp-util":"^3.0.8","tslib":"^1.7.1"},"devDependencies":{"@types/chai":"^4.0.1","@types/chai-as-promised":"0.0.31","@types/lodash":"^4.14.71","@types/mocha":"^2.2.41","@types/sinon":"^2.3.3","@types/sinon-chai":"^2.7.28","chai":"^4.1.0","chai-as-promised":"^7.1.1","coveralls":"^2.13.1","istanbul":"1.1.0-alpha.1","lodash":"^4.17.4","mocha":"^3.4.2","rimraf":"^2.6.1","sinon":"^2.4.1","sinon-chai":"^2.12.0","ts-node":"^3.3.0","tslint":"^5.5.0","typescript":"^2.4.2"},"gitHead":"86a0c40ae9295051598e3cf53fa1b8d16d606c46","_id":"gulp-transform@3.0.4","_shasum":"7ad4274af74127277302613434af33d1713673af","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"akim-mcmath","email":"mcmath@hotmail.com"},"dist":{"shasum":"7ad4274af74127277302613434af33d1713673af","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-3.0.4.tgz","integrity":"sha512-DGSOY3tvsxy3zF23F+D22B23I3i4ilvAKR8CMUAIoZXNCIZa+KbXGdUyagasuSeUWYigLcVvMSybT2lAVUFr7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEoo0aMHGTlAVVIVMm8kr+bCXulZQ41BJmQHZ68bMtqBAiEA3eqq/RPgQE1qPmdxPxwjwO8pJ8g9E3D+ssPofKqfaNs="}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-transform-3.0.4.tgz_1501351791830_0.31320661678910255"}},"3.0.5":{"name":"gulp-transform","version":"3.0.5","description":"A Gulp plugin for applying custom transformations to the contents of files","main":"./lib/index.js","types":"./lib/index.d.ts","scripts":{"build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf .nyc_output coverage lib","test:lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","test:unit":"nyc _mocha --opts mocha.opts","test":"npm run test:lint && npm run test:unit","report":"rimraf coverage && nyc --reporter=html _mocha --opts mocha.opts && open coverage/index.html","coverage":"nyc report --reporter=text-lcov | coveralls"},"engines":{"node":">=4"},"repository":{"type":"git","url":"git+https://github.com/mcmath/gulp-transform.git"},"keywords":["gulpplugin","gulp","transform","replace","map","typescript"],"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mcmath/gulp-transform/issues"},"homepage":"https://github.com/mcmath/gulp-transform#readme","dependencies":{"@types/node":"*","@types/gulp-util":"*","gulp-util":"^3.0.8","tslib":"^1.7.1"},"devDependencies":{"@types/chai":"^4.0.1","@types/chai-as-promised":"0.0.31","@types/lodash":"^4.14.71","@types/mocha":"^2.2.41","@types/sinon":"^2.3.3","@types/sinon-chai":"^2.7.28","chai":"^4.1.0","chai-as-promised":"^7.1.1","coveralls":"^2.13.1","lodash":"^4.17.4","mocha":"^3.4.2","nyc":"^11.1.0","rimraf":"^2.6.1","sinon":"^2.4.1","sinon-chai":"^2.12.0","ts-node":"^3.3.0","tslint":"^5.5.0","typescript":"^2.4.2"},"gitHead":"3ca2b983ee13ba6274b6367c06d6505f4996b458","_id":"gulp-transform@3.0.5","_shasum":"6972674a77dc30672d6b7746a173ef0506fe37b2","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"akim-mcmath","email":"mcmath@hotmail.com"},"dist":{"shasum":"6972674a77dc30672d6b7746a173ef0506fe37b2","tarball":"https://registry.npmjs.org/gulp-transform/-/gulp-transform-3.0.5.tgz","integrity":"sha512-NK/3bSJLzL23dA/vo0jzZaTsZSTOQBn9+9Fp+Q3cJof/FA9wqElVhbivP2MNXmWKbM0iz5YGiS1j2gY7ngvyRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKl11dqyr1H8XzRBCzcSBrgbO8CMw2nbsvZDSYHUH1lQIgSKfvV3GaTDs6Pj+i4Jgg9h39T+Q+3Q8fPSOQZ/tYtGw="}]},"maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-transform-3.0.5.tgz_1501370002426_0.7547152587212622"}}},"readme":"# gulp-transform\n\n[![version][versionBadge]][npm]\n[![build][buildBadge]][build]\n[![coverage][coverageBadge]][coverage]\n[![dependencies][dependenciesBadge]][dependencies]\n\nA [Gulp][gulp] plugin for applying custom transformations to the contents of\nfiles.\n\n## Install\n\nInstall via [npm][npm]:\n\n```sh\nnpm install --save-dev gulp gulp-transform\n```\n\n## Usage\n\n### Synchronous usage\n\nThis example adds a timestamp to the beginning of each source file. The comment\nformat is inferred from the file extension. Files with unrecognized extensions\nare not modified.\n\n#### gulpfile.js\n\n```js\nconst gulp = require('gulp');\nconst transform = require('gulp-transform');\nconst path = require('path');\n\nconst TIMESTAMP = Date();\n\ngulp.task('timestamp', () => {\n  return gulp.src('src/**/*')\n    .pipe(transform('utf8', timestamp))\n    .pipe(gulp.dest('out'));\n});\n\nfunction timestamp(content, file) {\n  switch (path.extname(file.path)) {\n    case '.js':\n    case '.ts':\n      return `// ${TIMESTAMP}\\n\\n${content}`;\n    case '.coffee':\n      return `# ${TIMESTAMP}\\n\\n${content}`;\n    default:\n      return content;\n  }\n}\n```\n\n#### src/hello.js\n\n```js\nconsole.log('Hello, world.');\n```\n\n#### out/hello.js\n\n```js\n// Thu Jul 27 2017 15:56:14 GMT-0700 (PDT)\n\nconsole.log('Hello, world.');\n```\n\n### Asynchronous usage\n\nThis example uses [xml2js][xml2js] to convert XML to JSON. The callback\nreturns a [Promise][promise] since the operation is asynchronous.\n\n#### gulpfile.js\n\n```js\nconst gulp = require('gulp');\nconst transform = require('gulp-transform');\nconst rename = require('gulp-rename');\nconst xml2js = require('xml2js');\n\ngulp.task('xml-to-json', () => {\n  return gulp.src('src/**/*.xml')\n    .pipe(transform('utf8', xmlToJson))\n    .pipe(rename({ extname: '.json' }))\n    .pipe(gulp.dest('out'));\n});\n\nfunction xmlToJson(content) {\n  return new Promise((resolve, reject) => {\n    xml2js.parseString(content, (error, data) => {\n      if (error) {\n        reject(error);\n      } else {\n        resolve(JSON.stringify(data, null, 2));\n      }\n    });\n  });\n}\n```\n\n#### src/cities.xml\n\n```xml\n<cities>\n  <city>Amsterdam</city>\n  <city>Rotterdam</city>\n  <city>The Hague</city>\n</cities>\n```\n\n#### out/cities.json\n\n```json\n{\n  \"cities\": {\n    \"city\": [\n      \"Amsterdam\",\n      \"Rotterdam\",\n      \"The Hague\"\n    ]\n  }\n}\n```\n\n## API\n\n### transform([options], callback)\n\nCreates a stream that transforms the contents of [File][vinylFile] objects.\nFiles in both streaming and buffer mode are accepted.\n\nTo transform contents as a string, a [character encoding][encoding] must be\nspecified; otherwise, contents will be passed to the callback as a\n[Buffer][nodeBuffer].\n\nThe contents of each File are replaced with the return value of the callback.\nOr, to perform an asynchronous transformation, a [Promise][promise] may be\nreturned.\n\n<table>\n  <thead>\n    <tr>\n      <th>Parameter</th>\n      <th>Type</th>\n      <th>Description</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td align=\"left\">\n        <strong>[options]</strong>\n      </td>\n      <td align=\"center\">\n        <p><code>object</code></p>\n        <p><code>string</code></p>\n        <p><code>null</code></p>\n      </td>\n      <td align=\"left\">\n        <p>\n          An optional options object or a value indicating an encoding. If\n          passed as an object, the following properties are are accepted as\n          options:\n        </p>\n        <ul>\n          <li>\n            <strong>encoding</strong> - <code>string</code> | <code>null</code> - An\n            <a href=\"https://nodejs.org/dist/latest/docs/api/buffer.html#buffer_buffers_and_character_encodings\">\n            encoding</a> supported by Node.js or <code>null</code> to indicate\n            no encoding. Defaults to <code>null</code>.\n          </li>\n          <li>\n            <strong>thisArg</strong> - <code>any</code> - The value of\n            <code>this</code> within <em>callback</em>. Defaults to\n            <code>undefined</code>.\n          </li>\n        </ul>\n        <p>\n          If passed as a string or <code>null</code>, it is interpreted as the\n          <em>encoding</em> option.\n        </p>\n        <p>\n          If no encoding is given, <em>callback</em> is called with a\n          <code>Buffer</code> object containing the contents of the file.\n          Otherwise, it is called with a string created with\n          <a href=\"https://nodejs.org/dist/latest/docs/api/buffer.html#buffer_buf_tostring_encoding_start_end\">\n          <code><em>buffer</em>.toString(<em>encoding</em>)</code></a>.\n        </p>\n      </td>\n    </tr>\n    <tr>\n      <td align=\"left\">\n        <strong>callback</strong>\n      </td>\n      <td align=\"center\">\n        <code>function</code>\n      </td>\n      <td align=\"left\">\n        <p>\n          A function that transforms the contents of each file. It is invoked\n          with two arguments:\n        </p>\n        <ul>\n          <li>\n            <strong>contents</strong> - <code>Buffer</code> | <code>string</code> - The\n            contents of the file. If no encoding is given, <em>contents</em>\n            will be a <code>Buffer</code>; otherwise, it will be a string.\n          </li>\n          <li>\n            <strong>file</strong> - <code>File</code> - The\n            <a href=\"https://github.com/gulpjs/vinyl#instance-methods\">\n            <code>File</code></a> object whose contents are being transformed.\n            Use this to access metadata about the file, e.g., its filename.\n          </li>\n        </ul>\n        <p>\n          The contents of the file are replaced with the return value of the\n          callback. For asynchronous transformations, a\n          <a href=\"https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise\">\n          <code>Promise</code></a> may be returned. The return or completion\n          value must have the same type as <em>contents</em>.\n        </p>\n        <p>\n          The value of <code>this</code> within the callback may be set with the\n          <em>thisArg</em> option; otherwise, <code>this</code> will be\n          <code>undefined</code>.\n        </p>\n      </td>\n    </tr>\n  </tbody>\n</table>\n\n## TypeScript\n\n[TypeScript][typescript] declarations are included in the package.\n\n```sh\nnpm i -D typescript ts-node gulp @types/gulp gulp-transform\n```\n\n#### gulpfile.ts\n\n```ts\nimport gulp = require(\"gulp\");\nimport transform = require(\"gulp-transform\");\n\ngulp.task(\"build\", () => {\n  gulp.src(\"src/**/*\")\n    .pipe(transform(\"utf8\", () => { /* transform contents */ }))\n    .pipe(gulp.dest(\"out\"));\n});\n```\n\n## License\n\nCopyright &copy; 2016&ndash;2017 Akim McMath. Licensed under the [MIT License][license].\n\n[gulp]: http://gulpjs.com/\n[npm]: https://npmjs.org/package/gulp-transform\n[versionBadge]: https://img.shields.io/npm/v/gulp-transform.svg?style=flat-square\n[license]: LICENSE\n[buildBadge]: https://img.shields.io/travis/mcmath/gulp-transform/master.svg?style=flat-square\n[build]: https://travis-ci.org/mcmath/gulp-transform\n[coverageBadge]: https://img.shields.io/coveralls/mcmath/gulp-transform/master.svg?style=flat-square&service=github\n[coverage]: https://coveralls.io/github/mcmath/gulp-transform?branch=master\n[dependenciesBadge]: https://img.shields.io/gemnasium/mcmath/gulp-transform.svg?style=flat-square\n[dependencies]: https://gemnasium.com/mcmath/gulp-transform\n[xml2js]: https://github.com/Leonidas-from-XIV/node-xml2js\n[vinylFile]: https://github.com/gulpjs/vinyl#instance-methods\n[encoding]: https://nodejs.org/dist/latest/docs/api/buffer.html#buffer_buffers_and_character_encodings\n[nodeBuffer]: https://nodejs.org/dist/latest-v8.x/docs/api/buffer.html\n[promise]: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise\n[typescript]: https://www.typescriptlang.org/\n","maintainers":[{"name":"akim-mcmath","email":"akim.elijah.mcmath@gmail.com"}],"time":{"modified":"2022-06-18T18:11:00.355Z","created":"2016-01-10T17:20:58.746Z","1.0.1":"2016-01-10T17:20:58.746Z","1.0.2":"2016-01-16T06:06:56.821Z","1.0.3":"2016-01-23T09:32:17.234Z","1.0.4":"2016-02-05T18:51:50.859Z","1.0.5":"2016-02-10T05:47:37.282Z","1.0.6":"2016-02-11T10:59:03.703Z","1.0.7":"2016-06-10T00:30:18.562Z","1.0.8":"2016-06-29T21:11:59.452Z","1.1.0":"2016-10-19T11:07:09.856Z","2.0.0":"2017-05-11T17:17:54.626Z","3.0.0":"2017-07-29T09:25:17.875Z","3.0.1":"2017-07-29T09:35:33.970Z","3.0.2":"2017-07-29T09:41:03.792Z","3.0.3":"2017-07-29T11:31:12.895Z","3.0.4":"2017-07-29T18:09:52.868Z","3.0.5":"2017-07-29T23:13:23.418Z"},"homepage":"https://github.com/mcmath/gulp-transform#readme","keywords":["gulpplugin","gulp","transform","replace","map","typescript"],"repository":{"type":"git","url":"git+https://github.com/mcmath/gulp-transform.git"},"author":{"name":"Akim McMath","email":"akim.elijah.mcmath@gmail.com"},"bugs":{"url":"https://github.com/mcmath/gulp-transform/issues"},"license":"MIT","readmeFilename":"README.md","users":{"mattms":true}}