{"_id":"gulp-hash-filename","_rev":"21-11c3d9e35fa5da7b5068cd84834afa79","name":"gulp-hash-filename","description":"gulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of that file, size of that file, or the file's atime, ctime and mtime.","dist-tags":{"latest":"4.1.0"},"versions":{"1.0.0":{"name":"gulp-hash-filename","version":"1.0.0","author":{"name":"Michael G Collins","email":"intervalia@gmail.com"},"license":"MIT","description":"gulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of a file, size of the file, or atime, ctime and mtime.","main":"./hashFileName.js","scripts":{"test":"gulp test"},"repository":{"type":"git","url":"https://github.com/intervalia/gulp-hash-filename.git"},"keywords":["gulp","gulpplugin","JavaScript","hash"],"bugs":{"url":"https://github.com/intervalia/gulp-hash-filename/issues"},"homepage":"https://github.com/intervalia/gulp-hash-filename","dependencies":{"through2":"^0.6.2"},"engines":{"node":">= 0.8.0"},"devDependencies":{"gulp":"^3.8.8","gulp-jshint":"~1.9.0","gulp-rename":"^1.2.0","gulp-uglify":"^1.0.2","gulp-util":"^3.0.1","mocha":"^1.21.4","should":"^4.0.4"},"gitHead":"a9529d6d7259512d362f119d549b11bcd9b9632f","_id":"gulp-hash-filename@1.0.0","_shasum":"5293bff2f738a28e57665b06d1bd06646fe859c1","_from":"./","_npmVersion":"1.4.23","_npmUser":{"name":"collinsmg","email":"intervalia@gmail.com"},"maintainers":[{"name":"collinsmg","email":"intervalia@gmail.com"}],"dist":{"shasum":"5293bff2f738a28e57665b06d1bd06646fe859c1","tarball":"https://registry.npmjs.org/gulp-hash-filename/-/gulp-hash-filename-1.0.0.tgz","integrity":"sha512-H4zX+vcEBEmgrMLUP1lIeZFdmee6mE6hVZU1nylFq5u671Xx4NWAyQV99+DUKuG9uKGmEuBfwDSt1OURU1Zmcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAlvjrJCJCiOZSgVgRM97WHSb42Ilj2YsWaJRU+3G6GzAiAvFd+Opa2dpD5DCfVWLqxaHyHcXVTMqFSzH9Co+0zPMQ=="}]},"directories":{}},"1.0.1":{"name":"gulp-hash-filename","version":"1.0.1","author":{"name":"Michael G Collins","email":"intervalia@gmail.com"},"license":"MIT","description":"gulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of a file, size of the file, or atime, ctime and mtime.","main":"./hashFileName.js","scripts":{"test":"gulp test"},"repository":{"type":"git","url":"https://github.com/intervalia/gulp-hash-filename.git"},"keywords":["gulp","gulpplugin","JavaScript","hash"],"bugs":{"url":"https://github.com/intervalia/gulp-hash-filename/issues"},"homepage":"https://github.com/intervalia/gulp-hash-filename","dependencies":{"gulp-util":"^3.0.1","through2":"^0.6.2"},"engines":{"node":">= 0.8.0"},"devDependencies":{"gulp":"^3.8.8","gulp-jshint":"~1.9.0","gulp-rename":"^1.2.0","gulp-uglify":"^1.0.2","mocha":"^1.21.4","should":"^4.0.4"},"gitHead":"f6cdfdc4ae282959e4bc46cf38654f8e8b276c40","_id":"gulp-hash-filename@1.0.1","_shasum":"fdc949181551d173ee78d85e8c29d30df83b6a14","_from":"./","_npmVersion":"1.4.23","_npmUser":{"name":"collinsmg","email":"intervalia@gmail.com"},"maintainers":[{"name":"collinsmg","email":"intervalia@gmail.com"}],"dist":{"shasum":"fdc949181551d173ee78d85e8c29d30df83b6a14","tarball":"https://registry.npmjs.org/gulp-hash-filename/-/gulp-hash-filename-1.0.1.tgz","integrity":"sha512-sBNq4/TIg+R7jEM3GdAAFFHvpgD9GJKH1IAqRLKdsnL+hcSAib1Eih/bCOfCQIH+8fY+zsxI9QNlCUoNiCRcfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVjIwjgK8CVXtuiJGLiFCY0KShDGmNpzJdW2XvknCJtwIgWD04mF2EsYlcudU2+juCH/PguN9EwWaDl+ONoiZNqOg="}]},"directories":{}},"1.1.0":{"name":"gulp-hash-filename","version":"1.1.0","author":{"name":"Michael G Collins","email":"intervalia@gmail.com"},"license":"MIT","description":"gulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of a file, size of the file, or atime, ctime and mtime.","main":"./index.js","scripts":{"test":"./bin/unit"},"repository":{"type":"git","url":"git+https://github.com/intervalia/gulp-hash-filename.git"},"keywords":["gulp","gulpplugin","JavaScript","hash"],"bugs":{"url":"https://github.com/intervalia/gulp-hash-filename/issues"},"homepage":"https://github.com/intervalia/gulp-hash-filename","dependencies":{"gulp-util":"^3.0.7","through2":"^0.6.5"},"engines":{"node":">= 0.8.0"},"devDependencies":{"chai":"^3.5.0","gulp":"^3.9.1","istanbul":"^0.4.5","mocha":"^3.0.2"},"gitHead":"bcaa6ccd4c7b7a0624d13cdc272c9324a87d0440","_id":"gulp-hash-filename@1.1.0","_shasum":"c750f27e4b284cf3b27eadd6384f9e4a31869947","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"collinsmg","email":"intervalia@gmail.com"},"maintainers":[{"name":"collinsmg","email":"intervalia@gmail.com"}],"dist":{"shasum":"c750f27e4b284cf3b27eadd6384f9e4a31869947","tarball":"https://registry.npmjs.org/gulp-hash-filename/-/gulp-hash-filename-1.1.0.tgz","integrity":"sha512-/MsTZTdk33WbHVjPNdgeSIR9mJpAbwbp3V2mVgHMTsfC0kaoCyO5PYtBavu/8nUY6ODH9VSkl/F9dZ2M0m6RDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHjDTQL5QxdHLbTf1r54nxODKCYElypv1dr9shI1RYuXAiAUZvx68w+hb0HoaUoT6Wji7E7014w1EpSx+YicLBJ9/A=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-hash-filename-1.1.0.tgz_1472012560468_0.034247093833982944"},"directories":{}},"1.2.0":{"name":"gulp-hash-filename","version":"1.2.0","author":{"name":"Michael G Collins","email":"intervalia@gmail.com"},"license":"MIT","description":"gulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of that file, size of that file, or the file's atime, ctime and mtime.","main":"./index.js","scripts":{"test":"./bin/unit"},"repository":{"type":"git","url":"git+https://github.com/intervalia/gulp-hash-filename.git"},"keywords":["gulp","gulpplugin","JavaScript","hash"],"bugs":{"url":"https://github.com/intervalia/gulp-hash-filename/issues"},"homepage":"https://github.com/intervalia/gulp-hash-filename","dependencies":{"gulp-util":"^3.0.7","through2":"^2.0.1"},"engines":{"node":">= 0.8.0"},"devDependencies":{"chai":"^3.5.0","coveralls":"^2.11.12","gulp":"^3.9.1","gulp-jshint":"^2.0.1","istanbul":"^0.4.5","jshint":"^2.9.3","mocha":"^3.0.2","mocha-lcov-reporter":"^1.2.0","should":"^11.1.0"},"gitHead":"1fb3d18194c4e2bea4b5625c5d15ef2e6c22c8fc","_id":"gulp-hash-filename@1.2.0","_shasum":"48251d8ca79946dda58d5ca21b48fd130657ee36","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"collinsmg","email":"intervalia@gmail.com"},"maintainers":[{"name":"collinsmg","email":"intervalia@gmail.com"}],"dist":{"shasum":"48251d8ca79946dda58d5ca21b48fd130657ee36","tarball":"https://registry.npmjs.org/gulp-hash-filename/-/gulp-hash-filename-1.2.0.tgz","integrity":"sha512-Kc8oUWk/2Om8Ki95qDnapDIYRdKvFuuBlwLxiGELS/q7/GztLVIXzDzB6zE9nbbBv3fyoxL9iHiF5Zajq2rYxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEurJBP3s1NDDH4P6XGob+7Nbp6aJl78R0JuQlpzHa5eAiByzC5JvVaXUNhTUw8yQHFNYvakE4CgyHM0rjfz6WZl4Q=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/gulp-hash-filename-1.2.0.tgz_1472669849482_0.21925570839084685"},"directories":{}},"2.0.0":{"name":"gulp-hash-filename","version":"2.0.0","author":{"name":"Michael G Collins","email":"intervalia@gmail.com"},"license":"MIT","description":"gulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of that file, size of that file, or the file's atime, ctime and mtime.","main":"./index.js","scripts":{"debug-mocha":"node --inspect-brk node_modules/mocha/bin/_mocha src/*.mocha.js test/*.test.js","lint":"eslint index.js lib/*.js test/*.js","test":"npm run lint && npm run test-mocha && nyc report --reporter=text-lcov | coveralls","test-mocha":"nyc --nycrc-path test/.nycrc-mocha.json ./node_modules/.bin/_mocha test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/intervalia/gulp-hash-filename.git"},"keywords":["gulp","gulpplugin","JavaScript","hash"],"bugs":{"url":"https://github.com/intervalia/gulp-hash-filename/issues"},"homepage":"https://github.com/intervalia/gulp-hash-filename","dependencies":{},"engines":{"node":">= 8.0.0"},"devDependencies":{"chai":"^4.2.0","coveralls":"^3.0.2","eslint":"^5.11.1","mocha":"^5.2.0","mocha-lcov-reporter":"^1.3.0","nyc":"^13.1.0"},"gitHead":"8b4e2a8b425b98e33a7426978f751d69eeb0f8b6","_id":"gulp-hash-filename@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"collinsmg","email":"intervalia@gmail.com"},"dist":{"integrity":"sha512-4pAv8UhgBKRK1uTGM5LMtPGDnR4CeEeRS5QfmjPdFaJ6HyqCb9s1WjsM77eYKBgnH2sUjkI7JdEmGFQd1rLfVA==","shasum":"149565654f91a840cae197ea76d0e6c21e03a9bf","tarball":"https://registry.npmjs.org/gulp-hash-filename/-/gulp-hash-filename-2.0.0.tgz","fileCount":18,"unpackedSize":19809,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLQ//CRA9TVsSAnZWagAA8ikP/0sWx5wrawGhmNnu2LKh\nQcyq+kSkGVnL3KADTZqxTbH3fEAYdgvqpCAxjhhEssK+1PD9ab5ZLQqr+qmd\nNv3MqrpEvUzfQrBttRDDleGvZibm+OzoPxiGvknAJmX7r1wUTaY5rARzbuL+\nJlGMTpwT0clV5sUsKXUm0fuJcaJ6cqE3zHFO++NeulGo1EpFvPBbE5eYnS3p\nY5emyHovZsiVBJ8uQiNdj34e/Dr07siourKAdwX8oy4PgY1HnMeSJ4jiY2/7\nrMBdgkNvORcy2gqITh8H0UDPFP/1NZ/kgnSwCY9q4RMmtiT1jMm2fh1gM8bW\nuF9PQV1uCEvgUBktrGqjoXUKjdvWMAKV4gWNjNB8zBbV55z4ubaAtbh9Ci1h\nmqGf57Ye/Y7EEYsunlMJXXDRWdS1SN9EZl/hra6RTaoBN4WKXtV2qMcb0yMr\n4xFlxXN4xXhvr+DTStSs88gSN00vhEPHRu0/5rDjDv3qCR83iSvB8nBbA9jP\nuapeQBvFdDJG1rL8AeXHTzFCVPkpCOgfkCpE83Ir4YLhh8PbqIlH5ZawUr2c\nyT6v9fLYHh1wLHWuFzN8v+G7PxitbwTLkkJrMaVdENhOaSwnQ40QbJLzx2Jz\nQvBdQnQ9tqeoeKV8MnooWkE+PMl11FYhLjBt84nkMtms5wAGEauUwj/zGeJx\ne64z\r\n=g4mh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGjdczQLeqLpJ9Hv3K/lMQJ1dgwCX2I2NgdA33UTACCBAiEAjc6dm0zyo0QK2U2IC39bqjZDeKu7XG1Po1RHB3XbRl0="}]},"maintainers":[{"name":"collinsmg","email":"intervalia@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-hash-filename_2.0.0_1546457087266_0.036963602316519406"},"_hasShrinkwrap":false},"2.0.1":{"name":"gulp-hash-filename","version":"2.0.1","author":{"name":"Michael G Collins","email":"intervalia@gmail.com"},"license":"MIT","description":"gulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of that file, size of that file, or the file's atime, ctime and mtime.","main":"./index.js","scripts":{"debug-mocha":"node --inspect-brk node_modules/mocha/bin/_mocha src/*.mocha.js test/*.test.js","lint":"eslint index.js lib/*.js test/*.js","test":"npm run lint && npm run test-mocha && nyc report --reporter=text-lcov | coveralls","test-mocha":"nyc --nycrc-path test/.nycrc-mocha.json ./node_modules/.bin/_mocha test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/intervalia/gulp-hash-filename.git"},"keywords":["gulp","gulpplugin","JavaScript","hash"],"bugs":{"url":"https://github.com/intervalia/gulp-hash-filename/issues"},"homepage":"https://github.com/intervalia/gulp-hash-filename","dependencies":{},"engines":{"node":">= 8.0.0"},"devDependencies":{"chai":"^4.2.0","coveralls":"^3.0.2","eslint":"^5.11.1","mocha":"^5.2.0","mocha-lcov-reporter":"^1.3.0","nyc":"^13.1.0"},"gitHead":"b0d72d53cbde04a176b536b629169a7471145d43","_id":"gulp-hash-filename@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"collinsmg","email":"intervalia@gmail.com"},"dist":{"integrity":"sha512-pMg5owb8Dt0wqjgPx/TFbU3c5ckD16rrgo0BTm9PQ3pVC1Zsgw7AYx1+DP2t31JoUTeN1/dPuXNWnCNvN/wj7A==","shasum":"c30656261a9b622d636766e48b8297125b4ddde8","tarball":"https://registry.npmjs.org/gulp-hash-filename/-/gulp-hash-filename-2.0.1.tgz","fileCount":18,"unpackedSize":20154,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLRmUCRA9TVsSAnZWagAAJF4P/2xJWKuv3CVMotaKn5Et\n9ihaFLTf5ulMB843Db0AvJldHRszbChlnC6ELnk3u70rZ+FHpNOupDfMMaJ2\nhU5Rnuey3rT8YVU7BAgKx0MfyJaLiWL+y2W7eWf9M6Z+edhTH6c9ITPj3DYi\nrTbXmfg8wRv4I/IkyxU/W3kjB3gHClFnRhIgCmZ70bxh0807AW9QsXNlpE8p\nn4AmXkHrkC0Adq7dUZPMTL85XqRSHbYNh7WJLTVihi8ewL2+ReMEg0RO2gy3\nFh7wv4P46gSagrKL3Ja0cf6BUluyKBvdtWb5oR/b4MQbe713nlQ31GX1G68H\nC4DSqu/K4LkQrQndtG1povpuUv2k5rY4Bc5ZxlKSbC5XaBc31q/L0eoE+DE6\neaP2Le+6LXGITBPxgMK3xLlpZkmU5xYnhlrUFxbyQxBYxV+JUIl27JLWi9Ec\nd9tqPWqekM6j5LLls5IUPneUdRh4afyCMedggENu5Ca+lnJI0KtIJLc2uOs8\n0LRZXfjO0I98qK3hJ7v86VYh80jNiA8se5bUCxgQHQr7im3Km3wuGfiplPWu\nwdwAns8GAYBSFB+Xez6mj8xKr9uceFQ7wUR1+pweziwO4NBXAyh9r8dnAHG5\nyakbh+gfxgCJuUBWreRAMOdn3CWa2S1obB7K/c8Y0XB/svGuNRk+WCZ+GyKi\nSG4B\r\n=q74p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3YyM1MB/X0Tva65cT7Od5BjjqClnvg5pmHkw0uMfzWQIhAOJ+97xdYpPErm9cETNVyoBEf8QJt/j2HtdeEeW3iZaV"}]},"maintainers":[{"name":"collinsmg","email":"intervalia@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-hash-filename_2.0.1_1546459540054_0.3510158922631843"},"_hasShrinkwrap":false},"3.0.0":{"name":"gulp-hash-filename","version":"3.0.0","author":{"name":"Michael G Collins","email":"intervalia@gmail.com"},"license":"MIT","description":"gulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of that file, size of that file, or the file's atime, ctime and mtime.","main":"./index.js","scripts":{"debug-mocha":"node --inspect-brk node_modules/mocha/bin/_mocha src/*.mocha.js test/*.test.js","lint":"eslint index.js lib/*.js test/*.js","test":"npm run lint && npm run test-mocha && nyc report --reporter=text-lcov | coveralls","test-mocha":"nyc --nycrc-path test/.nycrc-mocha.json ./node_modules/.bin/_mocha test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/intervalia/gulp-hash-filename.git"},"keywords":["gulp","gulpplugin","JavaScript","hash"],"bugs":{"url":"https://github.com/intervalia/gulp-hash-filename/issues"},"homepage":"https://github.com/intervalia/gulp-hash-filename","dependencies":{},"engines":{"node":">= 10.0.0"},"devDependencies":{"chai":"^4.2.0","coveralls":"^3.0.9","eslint":"^6.8.0","mocha":"^7.0.1","mocha-lcov-reporter":"^1.3.0","nyc":"^15.0.0"},"gitHead":"60bee2ca52f962a944d3749f5d01be1462c65a64","_id":"gulp-hash-filename@3.0.0","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-wAtigX+faOEl/cQJCJ/pcY6mKSS2cGkoCT1FopUqjakM6AKYe1WuYEht0wcWTNinJGxj6m1tKMEMZUWhO0MD5Q==","shasum":"e9820fb7a20f3cd16a720413be7485aaee1782b9","tarball":"https://registry.npmjs.org/gulp-hash-filename/-/gulp-hash-filename-3.0.0.tgz","fileCount":18,"unpackedSize":20177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMHzSCRA9TVsSAnZWagAARisP/2hYhE3CYcXsCVAnBTKY\nP6aU45YazWmePAh8UmJPhyI+Tai0EWSpJBN2J76uQAUQVcmihkaF5XfK7xMk\nmrJuMee5TUlS3UT8eOIjROXRG67yKJirpMhuur14sllEBDlKdlle0e8GThKR\n8x4+DwioV+oUa9nXI4ymZQicTRdr1B8nNpsrXiulCARgz7w2SpH/7ibmWJHj\n1vNz3bPzaOc9EDtNxeixcqp6S3fjXRcJ1PyGeDuLpm7yTOuqkp7A0Hehj8rs\naJnXGDF8otwOBmPdiDUStCWdhInRUbT5Z+Ldl5Nl69B869r+OTO2M4iRAECz\nfd6zPdpm+oRvF1opRR3n4Ctm0wUe7W6kFolot2Wrz7i8+KY89WeXyGXVYzQ/\nSfJOm/6q9Zm1sqlqe3JgRM2719Uxcp0PuzlBP82kRPDahBZYOXqsB05a0FyO\n1Ar9IfRXyyGMs5bS2I2H7mKKBgOz2Z+TsA7KYHgGRcQ1pXGJhEKSs/1rUdcx\nQwSqrFxC83budtrkhrKxCcxx3Y5VHWXxWGFPdYpL6Nm30krmbXlOtbSqyPf3\nLrxBgecxbdi3heJKb//s+D6jnO4UQ78l4wiiXNTFCCR7D0F6K8snkAbiuoyu\nm/HglS9kYPXZY03zCAWoKpjsS0FKKtAsOuSyAiTopBk9t83ZrUza1rjgho1+\nrbbv\r\n=J6Oz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8p+bJPX1dQXiAwbO6pkT0uBufkfcJvAnbqtXxZJIjiAIgFQpv1X7bIQGUlqqlHiRH6WfLvNv3LOqg2k3xVHsEFxA="}]},"maintainers":[{"name":"collinsmg","email":"intervalia@gmail.com"}],"_npmUser":{"name":"collinsmg","email":"intervalia@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-hash-filename_3.0.0_1580235986259_0.9714603899975169"},"_hasShrinkwrap":false},"4.0.0":{"name":"gulp-hash-filename","version":"4.0.0","author":{"name":"Michael G Collins","email":"intervalia@gmail.com"},"license":"MIT","description":"gulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of that file, size of that file, or the file's atime, ctime and mtime.","main":"./index.js","scripts":{"debug-mocha":"node --inspect-brk node_modules/mocha/bin/_mocha src/*.mocha.js test/*.test.js","lint":"eslint index.js lib/*.js test/*.js","test":"npm run lint && npm run test-mocha && nyc report --reporter=text-lcov | coveralls","test-mocha":"nyc --nycrc-path test/.nycrc-mocha.json ./node_modules/.bin/_mocha test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/intervalia/gulp-hash-filename.git"},"keywords":["gulp","gulpplugin","JavaScript","hash"],"bugs":{"url":"https://github.com/intervalia/gulp-hash-filename/issues"},"homepage":"https://github.com/intervalia/gulp-hash-filename","dependencies":{},"engines":{"node":">= 14.0.0"},"devDependencies":{"chai":"^4.3.4","coveralls":"^3.1.1","eslint":"^7.32.0","mocha":"^9.0.3","mocha-lcov-reporter":"^1.3.0","nyc":"^15.1.0"},"gitHead":"192a8d9ac8a0687422677bb72a106a6bba4c329d","_id":"gulp-hash-filename@4.0.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-faGZzjZYG4czPBN0InWSF9xYIx5yrS6TJ5DGBL3iuDw83KYCtFJZpPj+FDyVm7btP8dvDmGeLJh2TgbMdksn7Q==","shasum":"673b0c00b375e0f1c0146daae861f5a4e3508c93","tarball":"https://registry.npmjs.org/gulp-hash-filename/-/gulp-hash-filename-4.0.0.tgz","fileCount":18,"unpackedSize":20178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCX77CRA9TVsSAnZWagAA+J8P/0BFpyBa3aZQnpBul6NR\nO29/jvYu28EwOsj+qO/n96/tsRWFG30FCpMAqbT3KJ8Kqqkq1vgRmwTtDpLe\nbE+8P2yKEFbpV54l7IVQl8gQWZnMp0LvxJ3w68QZAcSG1WMUVU0TXpuPp8rg\nT5Nak9GtrfTNaO752B9shGl1r4ZK5lzXDAQL964FS3YYPXEpmVlelO/LUGJv\nsgY2unM9jDjoITn1ZLcaCD+LkC10RNkaAmk6a8dO7FjJRFuXrLgJDZQHRh70\ncTB+3rbfcojoXByJ96hNGSAuuc8e5J2fg3c88xAywNmzRk0C+i7Z4O/DBt7p\nmUtN1XYfCPQyybZtsZw4i3P0Q3/O/raVpnu+/lSn299Xi6Rqq/tiqfkbZbAk\naPDDdFuCKrgi03rqyg4f/qCIe4oZFKe5LXc/PYMImL+ELgYblgowYICJMrnn\nN33umAi51FOygP507Ta2SEwh8IxHtezaiwyhhcS1TRDf7DWWEnuvicwhQH3C\nue1uvB8xWNXLwSFuEx1X73kQhazudzLFatji/HlYKOpmNDt4T2gi1XKt1YuG\nWtBF18vAYfe/020hkVlHE1Hop7raTbRgVYXRih0L5rfqc5dgXwZ+RuwQV+Z+\nzkC8IgBCmSgYgG1P9E4qdwyCV96nPxaP+OXeij3FaS52Vv4Ipvl4YadYzuiK\n1u4v\r\n=WNra\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBu5uBHkpt9lImLFDR60ynXguifL2q/gCwyIhgr/LVrjAiEAvreFuSw6TEjfj/ELSH0qKJfojVDqe0aIPR3zcO7Oshc="}]},"_npmUser":{"name":"collinsmg","email":"intervalia@gmail.com"},"directories":{},"maintainers":[{"name":"collinsmg","email":"intervalia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-hash-filename_4.0.0_1628012283243_0.8548388964327243"},"_hasShrinkwrap":false},"4.1.0":{"name":"gulp-hash-filename","version":"4.1.0","author":{"name":"Michael G Collins","email":"intervalia@gmail.com"},"license":"MIT","description":"gulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of that file, size of that file, or the file's atime, ctime and mtime.","main":"./index.js","scripts":{"debug-mocha":"node --inspect-brk node_modules/mocha/bin/_mocha src/*.mocha.js test/*.test.js","lint":"eslint index.js lib/*.js test/*.js","test":"npm run lint && npm run test-mocha && nyc report --reporter=text-lcov | coveralls","test-mocha":"nyc --nycrc-path test/.nycrc-mocha.json ./node_modules/.bin/_mocha test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/intervalia/gulp-hash-filename.git"},"keywords":["gulp","gulpplugin","JavaScript","hash"],"bugs":{"url":"https://github.com/intervalia/gulp-hash-filename/issues"},"homepage":"https://github.com/intervalia/gulp-hash-filename","dependencies":{},"engines":{"node":">= 16.0.0"},"devDependencies":{"chai":"4.3.7","coveralls":"3.1.1","eslint":"8.34.0","mocha":"10.2.0","mocha-lcov-reporter":"1.3.0","nyc":"15.1.0"},"gitHead":"b7f040641b33e6dfba9e3fec1027e90e85475030","_id":"gulp-hash-filename@4.1.0","_nodeVersion":"16.14.2","_npmVersion":"8.7.0","dist":{"integrity":"sha512-3DRGODOjeEYGOLqYKf7SRzZolFtU2l6CN7r0KWuxTdLtDPUn7/jnIH+ko2/zQHKFx10MDLvBpyVwkNOxFBl89A==","shasum":"308bfdd5135ccbcebc64a85af91196aec3b634b0","tarball":"https://registry.npmjs.org/gulp-hash-filename/-/gulp-hash-filename-4.1.0.tgz","fileCount":18,"unpackedSize":20228,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXbMClOaItBSM7aFOW4+lz/m+uCjtW4CgKQWUjXdcjuQIgLuesPqAxf6I9ZsGkFCCsIYWXKKNKzaVyNpvqdjO349o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9VfLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmquTRAAh3UoPhv5C9UbQ9eRuwbjMHajDBjSGFLAgBGIDSTBx7VdVRrA\r\nF4sUqHpCVpe+Qe9cLvE/bQsimiMyAZFjdXSofcCefDVUvzG95GfmllTd+85v\r\nm77NgXfMC4B8YMuGdog13G7RmZSYjRqDP9wyr+oyN59MlQB9vP76wXHQ1sC4\r\n9hOXlfssfq6+l+b8gLKyBmes76JDj3lpTaQI7gKAt36WcT6hQHhXCf2w5m2V\r\nkiib9XqRYrFZWT7s8R5U1s6nKwfGiPNI9lhb9p+hXaaPgnl9g0S1Z9tYXL/D\r\nyOW1L5j+CzQQaoT0TeXOoH1XoECXoV0EOxctQnCye7cHzN7uzeNc/RrJjq71\r\n7ZAoWnidHU3kqHNWGtlz+Zclxp33py3Z5EAFfBCqKGLXAirGcBC7/i4Y5V1s\r\nMFEMyqrEENF2/CB13te+Ewo3n2AWoWJBgIA+DCUfLMUQYeUlZ0vhiOwk+t5U\r\naPeTeGdonDpcH/U+LgZi9rPNApzpXDaGzz0jxJk2o8DDVrvSfFzKCYGW2Dfj\r\ngSxq2tZ1nY+nVhr9BOL00V59yRuG8PNvIxgJJP29cwtldNMP+g3UVJupFRUu\r\nGUs34aPf0nOpE4sWLUqQGhnXFmo3OUf91WuOkCHcq02xzJ/lLaiCO7gASNo1\r\nZZFnF1rc4MPZSY8RxMGp+01Ey33T0lreSZk=\r\n=EelD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"collinsmg","email":"intervalia@gmail.com"},"directories":{},"maintainers":[{"name":"collinsmg","email":"intervalia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-hash-filename_4.1.0_1677023179648_0.033345250269009696"},"_hasShrinkwrap":false}},"readme":"# gulp-hash-filename\n\n[![NPM version](http://img.shields.io/npm/v/gulp-hash-filename.svg)](https://npmjs.org/package/gulp-hash-filename)\n[![Downloads](http://img.shields.io/npm/dm/gulp-hash-filename.svg)](https://npmjs.org/package/gulp-hash-filename)\n[![Build Status](https://travis-ci.org/intervalia/gulp-hash-filename.svg?branch=master)](https://travis-ci.org/intervalia/gulp-hash-filename)\n[![Coverage Status](https://coveralls.io/repos/github/intervalia/gulp-hash-filename/badge.svg?branch=master)](https://coveralls.io/github/intervalia/gulp-hash-filename?branch=master)\n\n---\n\n`gulp-hash-filename` is a gulp plug-in that renames each file using a generated hash value based on the contents of the source file.\n\nUsing hashed filenames based on content allows for filenames that only change as the content changes. This helps improve caching of your files. If the content does not change then the filename does not change and that file can still be pulled from the browser's cache.\n\n---\n\n>Always reference the documents on the git repo since they are updated more often then the NPM package website. I update NPM when there is a code change. I might change documentation without a code change and, at that time, I would not update the version number or NPM release.\n\n---\n\n## Install\n\n```shell\nnpm install -g gulp-hash-filename\n```\n\nor\n\n```shell\nnpm install --save-dev gulp-hash-filename\n```\n\n---\n\n## Pull Requests and Issues\n\nPlease submit **[pull requests](https://github.com/intervalia/gulp-hash-filename/pulls)** and **[issues](https://github.com/intervalia/gulp-hash-filename/issues)**. I will do my best to review and take care of PRs and issues quickly. If you have suggestions, I would love to hear them.\n\n\n---\n\n## Usage of `gulp-hash-filename`\n\n### Example of the `hash()` function\n\nHere is an example of how to use the `hash()` function in your `gulpfile.js` file:\n\n```js\nconst gulp = require('gulp');\nconst hash = require('gulp-hash-filename');\n\ngulp.task('assemble', function() {\n  return gulp.src('./assembly.json')\n    .pipe(hash())\n    .pipe(gulp.dest('./dist'))\n});\n```\n\nThe example below includes minification and saving the file with both the hashed filename `\"{name}-{hash}{ext}\"` and the hashed and minimized filename `\"{name}-{hash}-min{ext}\"` format.\n\n```js\nconst gulp = require('gulp');\nconst uglify = require('gulp-uglify');\nconst rename = require('gulp-rename');\nconst hash = require('gulp-hash-filename');\n\ngulp.task('assemble', function() {\n  return gulp.src('./*.js')\n    .pipe(hash())\n    .pipe(gulp.dest('./dist'))\n    .pipe(uglify())\n    .pipe(rename(function (path) {path.basename += \"-min\";}))\n    .pipe(gulp.dest('./dist'))\n});\n```\n\nYou can change how the filename is formatted by passing in a `format` option in the `hash()` function.\n\n```js\nconst gulp = require('gulp');\nconst hash = require('gulp-hash-filename');\n\ngulp.task('assemble', function() {\n  return gulp.src('./assembly.json')\n    .pipe(hash({\n    \t\"format\": \"{name}.{hash}.{size}{ext}\"\n    }))\n    .pipe(gulp.dest('./dist'))\n});\n```\n\n---\n\n### Options used in the `hash()` function\n\nThere is only one option that is allowed in the `hash()` function. That is the `format` option.\n\n`format` is used to control the output filename format. The default value for `format` is `\"{name}-{hash}{ext}\"`.\n\n**example:** Assuming the incoming filename was `\"sample.js\"` and the hash value was `\"a8c23bc812abef98\"` and that the `format` value is the default then the hashed filename would be `\"sample-a8c23bc812abef98.js\"`\n\n#### `format` paramaters\n\n| Parameter | Description |\n| --- | --- |\n| {name} | The base portion of the filename. For `sample.js` the {name} is `sample`. For `sample.test.js` the {name} is `sample.test`. |\n| {ext} | The file extention of the filename. For `sample.js` the {ext} is `.js`. For `testfile.json` the {ext} is `.json` |\n| {size} | The size of the file in bytes. This number is base 10 without commas, periods or a leading '0' |\n| {hash} | The hase based on the content of the file. |\n| {atime} | The file `access` time. |\n| {ctime} | The inode or file `change` time. |\n| {mtime} | The file `modify` time. |\n\n##### `atime`, `ctime` and `mtime`\n\nFor more information about what the time formats mean [go here](http://www.linux-faqs.info/general/difference-between-mtime-ctime-and-atime)\n\nThe output format used by `atime`, `ctime` and `mtime` is a format that includes the Year, Month, Date, Hours, Minutes, Seconds and Milliseconds.\n\n**example:** `\"2015-01-31T11-34-13.1234Z\"`\n\n>As of version 1.2.0 if a file is added through the gulp system that does not support the `file.stat` object the values for `atime`, `ctime` and `mtime` will be an empty string.\n\n### Limiting the length of the output\n\nYou can limit the number of characters for the value of each parameter by adding `:value` to the parameter.\n\nFor example if you only want to use the first 8 characters of the `hash` value you would use the parameter `{hash:8}`.\n\n### More examples\n\nBelow are some other examples of the output filename based on the following values:\n\n| parameter | value |\n| --- | --- |\n| filename | \"sample.js\" |\n| file size | 12,234 bytes |\n| ctime | Dec 19, 2014 at 3:15:33am and 235 milliseconds |\n| hash | ABCDEF0000FEDCBA |\n\nExample output file name:\n\n| format string | output file name |\n| --- | --- |\n| {name}-{size}.test{ext} | sample-12234.test.js |\n| {name}.{hash}.js1 | sample.ABCDEF0000FEDCBA.js1 |\n| {name}{ext} | Leaves the filename as it was. (sample.js) |\n| proj-{name}-{ctime}{ext} | proj-sample-2014-12-19T03-15-33.235Z.js |\n| {name}.{hash:5}{ext} | sample.ABCDE.js |\n| {name}.{hash:8}{ext} | sample.ABCDEF00.js |\n\n---\n# License\n\nMIT - [License File](https://github.com/intervalia/gulp-hash-filename/tree/master/LICENSE.md)\n\n---\n# Update History\n\n[Update History File](https://github.com/intervalia/gulp-hash-filename/tree/master/UPDATE_HISTORY.md)\n","maintainers":[{"name":"collinsmg","email":"intervalia@gmail.com"}],"time":{"modified":"2023-02-21T23:46:19.886Z","created":"2015-01-14T02:23:33.143Z","1.0.0":"2015-01-14T02:23:33.143Z","1.0.1":"2015-01-14T19:22:53.421Z","1.1.0":"2016-08-24T04:22:42.430Z","1.2.0":"2016-08-31T18:57:31.531Z","2.0.0":"2019-01-02T19:24:47.407Z","2.0.1":"2019-01-02T20:05:40.217Z","3.0.0":"2020-01-28T18:26:26.409Z","4.0.0":"2021-08-03T17:38:03.382Z","4.1.0":"2023-02-21T23:46:19.801Z"},"homepage":"https://github.com/intervalia/gulp-hash-filename","keywords":["gulp","gulpplugin","JavaScript","hash"],"repository":{"type":"git","url":"git+https://github.com/intervalia/gulp-hash-filename.git"},"author":{"name":"Michael G Collins","email":"intervalia@gmail.com"},"bugs":{"url":"https://github.com/intervalia/gulp-hash-filename/issues"},"license":"MIT","readmeFilename":"README.md","users":{"collinsmg":true,"armikael":true,"hongz1125":true}}