{"_id":"gulp-rev-format","_rev":"10-0fc5e51a7b1ae807393bfaf4562635db","name":"gulp-rev-format","description":"Formatting options for static revisioned assets generated by gulp-rev or gulp-git-rev: unicorn.css => unicorn[pre]d41d8cd98f[pre].css","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"gulp-rev-format","version":"1.0.0","description":"Formatting options for static revisioned assets generated by gulp-rev or gulp-git-rev: unicorn.css => unicorn[pre]d41d8cd98f[pre].css","license":"MIT","repository":{"type":"git","url":"git+https://github.com/atamas101/gulp-rev-format.git"},"author":{"name":"Andrei Tamas","email":"andrei.tamas101@gmail.com","url":"https://github.com/atamas101"},"contributors":[{"name":"Luke Edwards","email":"luke@lukeed.com","url":"https://lukeed.com"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"standard && mocha"},"files":["index.js"],"keywords":["gulpplugin","rev","revving","revision","hash","optimize","version","versioning","cache","expire","static","asset","assets","format"],"dependencies":{"gulp-util":"^3.0.0","modify-filename":"^1.1.0","object-assign":"^4.0.1","through2":"^2.0.0","vinyl-file":"^2.0.0"},"devDependencies":{"mocha":"^2.5.3","standard":"^7.1.2","standard-format":"^2.2.1"},"standard":{"envs":["node","mocha"]},"gitHead":"4767fb3a0d322c6c87296ff6cbd931496062b7c6","bugs":{"url":"https://github.com/atamas101/gulp-rev-format/issues"},"homepage":"https://github.com/atamas101/gulp-rev-format#readme","_id":"gulp-rev-format@1.0.0","_shasum":"92de7f7ecea9c7c9a25c86e06f84a5feff7a7c27","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"atamas101","email":"andrei.tamas101@gmail.com"},"dist":{"shasum":"92de7f7ecea9c7c9a25c86e06f84a5feff7a7c27","tarball":"https://registry.npmjs.org/gulp-rev-format/-/gulp-rev-format-1.0.0.tgz","integrity":"sha512-zQ8xGt64QR3OWFj8BS++VKcfJb8qtrIxFds6qiSQiUEtiyw2/mtCjexwMhyCD9BU9YrrSfvQLcd7WWkCbtHCHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXTaCEL9L3iC85P2gn/3e5pBJPlZeWLkoaNM/zFgl9qgIgb0jzGlaNE1mGBljQxGbbx322eEKk4xxs5zIkZzkXAyE="}]},"maintainers":[{"name":"atamas101","email":"andrei.tamas101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-rev-format-1.0.0.tgz_1465953389860_0.639674891717732"},"directories":{}},"1.0.1":{"name":"gulp-rev-format","version":"1.0.1","description":"Formatting options for static revisioned assets generated by gulp-rev or gulp-git-rev: unicorn.css => unicorn[pre]d41d8cd98f[pre].css","license":"MIT","repository":{"type":"git","url":"git+https://github.com/atamas101/gulp-rev-format.git"},"author":{"name":"Andrei Tamas","email":"andrei.tamas101@gmail.com","url":"https://github.com/atamas101"},"contributors":[{"name":"Luke Edwards","email":"luke@lukeed.com","url":"https://lukeed.com"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"standard && mocha"},"files":["index.js"],"keywords":["gulpplugin","rev","revving","revision","hash","optimize","version","versioning","cache","expire","static","asset","assets","format"],"dependencies":{"gulp-util":"^3.0.0","modify-filename":"^1.1.0","object-assign":"^4.0.1","through2":"^2.0.0"},"devDependencies":{"mocha":"^2.5.3","standard":"^7.1.2","standard-format":"^2.2.1"},"gitHead":"4b6fd15dc9795f3affe4f315321cfbab8afb661e","bugs":{"url":"https://github.com/atamas101/gulp-rev-format/issues"},"homepage":"https://github.com/atamas101/gulp-rev-format#readme","_id":"gulp-rev-format@1.0.1","_shasum":"560b90348a73259dfa5fb5c2e781444902aa0f0b","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"atamas101","email":"andrei.tamas101@gmail.com"},"dist":{"shasum":"560b90348a73259dfa5fb5c2e781444902aa0f0b","tarball":"https://registry.npmjs.org/gulp-rev-format/-/gulp-rev-format-1.0.1.tgz","integrity":"sha512-0cQC3qJ4vsUU3qL8f6vUscOOVk3HEn/ewK1dUNHuFdpN4cMvknONqInaw3KdktJk8/3l4t7Uvw39IywcLaJ3iw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDX2iAC42rc19YJW0RW2tuqFl5pH4ht4trZYsiebT/ukwIhAI1fX6j1zPNndt6+hEWClGKamK7WmmvYIP0jjIfb1ygW"}]},"maintainers":[{"name":"atamas101","email":"andrei.tamas101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/gulp-rev-format-1.0.1.tgz_1465956594538_0.4890634515322745"},"directories":{}},"1.0.2":{"name":"gulp-rev-format","version":"1.0.2","description":"Formatting options for static revisioned assets generated by gulp-rev or gulp-git-rev: unicorn.css => unicorn[pre]d41d8cd98f[pre].css","license":"MIT","repository":{"type":"git","url":"git+https://github.com/atamas101/gulp-rev-format.git"},"author":{"name":"Andrei Tamas","email":"andrei.tamas101@gmail.com","url":"https://github.com/atamas101"},"contributors":[{"name":"Luke Edwards","email":"luke@lukeed.com","url":"https://lukeed.com"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"standard && mocha"},"files":["index.js"],"keywords":["gulpplugin","rev","revving","revision","hash","optimize","version","versioning","cache","expire","static","asset","assets","format"],"dependencies":{"gulp-util":"^3.0.0","modify-filename":"^1.1.0","object-assign":"^4.0.1","through2":"^2.0.0"},"devDependencies":{"mocha":"^2.5.3","standard":"^7.1.2","standard-format":"^2.2.1"},"gitHead":"a5bc1697ec60e49b3588b03750e950bc67e4dda5","bugs":{"url":"https://github.com/atamas101/gulp-rev-format/issues"},"homepage":"https://github.com/atamas101/gulp-rev-format#readme","_id":"gulp-rev-format@1.0.2","_shasum":"2a6c87c1c0c20319d928108ff52f1af0c96d7348","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"atamas101","email":"andrei.tamas101@gmail.com"},"dist":{"shasum":"2a6c87c1c0c20319d928108ff52f1af0c96d7348","tarball":"https://registry.npmjs.org/gulp-rev-format/-/gulp-rev-format-1.0.2.tgz","integrity":"sha512-+o2B8Isxw1tyVNVsKDo/fAjXFW3kef413RImOgMW2GRhUWfPlZqd2dhMzO68Ud3zDR1Y6yruwooI9vhc9NlJpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZwyX3bImHRVQwYZzx6jCWQV3JnYPnx5TVAJU8ETw9BAiEAo3stS+cvVuzEVvcpXQNvkahoMwnngBJWlMpMiWBtjDo="}]},"maintainers":[{"name":"atamas101","email":"andrei.tamas101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/gulp-rev-format-1.0.2.tgz_1465956968610_0.04411071049980819"},"directories":{}},"1.0.3":{"name":"gulp-rev-format","version":"1.0.3","description":"Formatting options for static revisioned assets generated by gulp-rev or gulp-git-rev: unicorn.css => unicorn[pre]d41d8cd98f[pre].css","license":"MIT","repository":{"type":"git","url":"git+https://github.com/atamas101/gulp-rev-format.git"},"author":{"name":"Andrei Tamas","email":"andrei.tamas101@gmail.com","url":"https://github.com/atamas101"},"contributors":[{"name":"Luke Edwards","email":"luke@lukeed.com","url":"https://lukeed.com"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"standard && mocha"},"main":"index.js","keywords":["gulpplugin","rev","revving","revision","hash","optimize","version","versioning","cache","expire","static","asset","assets","format"],"dependencies":{"gulp-util":"^3.0.0","modify-filename":"^1.1.0","object-assign":"^4.0.1","through2":"^2.0.0"},"devDependencies":{"mocha":"^2.5.3","standard":"^7.1.2","standard-format":"^2.2.1"},"gitHead":"faf1e33cee5ec3a9f1200a929303f6c11fd0bf3d","bugs":{"url":"https://github.com/atamas101/gulp-rev-format/issues"},"homepage":"https://github.com/atamas101/gulp-rev-format#readme","_id":"gulp-rev-format@1.0.3","_shasum":"876846c1511133bf7a35ee68a34d434a4508cbfa","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"atamas101","email":"andrei.tamas101@gmail.com"},"dist":{"shasum":"876846c1511133bf7a35ee68a34d434a4508cbfa","tarball":"https://registry.npmjs.org/gulp-rev-format/-/gulp-rev-format-1.0.3.tgz","integrity":"sha512-7vYu87ZcAJDLHb6gpjP4CjetKDvVIRtEdOMV45Nd8g2vPfe+b4XY95cYCgFnig+LQ8KVruT+7YrSxqxWyyNM9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMYxT16tr4yUp2scE6SNCiOtYFrO/6Wq6o19z5ALWSQQIhAJfTO0IRX55GJciZFkbVpJFqABTVduugC8snNxjG+Hs9"}]},"maintainers":[{"name":"atamas101","email":"andrei.tamas101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-rev-format-1.0.3.tgz_1465957745569_0.8380294484086335"},"directories":{}},"1.0.4":{"name":"gulp-rev-format","version":"1.0.4","description":"Formatting options for static revisioned assets generated by gulp-rev or gulp-git-rev: unicorn.css => unicorn[pre]d41d8cd98f[pre].css","license":"MIT","repository":{"type":"git","url":"git+https://github.com/atamas101/gulp-rev-format.git"},"author":{"name":"Andrei Tamas","email":"andrei.tamas101@gmail.com","url":"https://github.com/atamas101"},"contributors":[{"name":"Luke Edwards","email":"luke@lukeed.com","url":"https://lukeed.com"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"standard && mocha"},"main":"index.js","keywords":["gulpplugin","rev","revving","revision","hash","optimize","version","versioning","cache","expire","static","asset","assets","format"],"dependencies":{"gulp-util":"^3.0.0","modify-filename":"^1.1.0","object-assign":"^4.0.1","through2":"^2.0.0"},"devDependencies":{"mocha":"^2.5.3","standard":"^7.1.2","standard-format":"^2.2.1"},"gitHead":"322f64570fb2f70594d884e3ceefb43b33686571","bugs":{"url":"https://github.com/atamas101/gulp-rev-format/issues"},"homepage":"https://github.com/atamas101/gulp-rev-format#readme","_id":"gulp-rev-format@1.0.4","_shasum":"e59d77cdbf9b8fdb10f9445e30f91d865595548c","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"atamas101","email":"andrei.tamas101@gmail.com"},"dist":{"shasum":"e59d77cdbf9b8fdb10f9445e30f91d865595548c","tarball":"https://registry.npmjs.org/gulp-rev-format/-/gulp-rev-format-1.0.4.tgz","integrity":"sha512-IsTlKec4qJ3v1zPAX8TyrC/8PPDnyQqOYWdY3GCCrgw8KiOC+ERkbnhxDv321hPquH7vy72gT3zemHtV4Ypf2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3Re1DGiLGX6/QqevvzcqubdFDFIri9r8cCa2GfQy94QIgUTYZ428Nid7Q3kNP7lsLBvM+6Dw43FoGrysq0z2qDQs="}]},"maintainers":[{"name":"atamas101","email":"andrei.tamas101@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-rev-format-1.0.4.tgz_1465958025477_0.07554647885262966"},"directories":{}},"1.0.5":{"name":"gulp-rev-format","version":"1.0.5","description":"Formatting options for static revisioned assets generated by gulp-rev or gulp-git-rev: unicorn.css => unicorn[pre]d41d8cd98f[pre].css","license":"MIT","repository":{"type":"git","url":"git+https://github.com/atamas101/gulp-rev-format.git"},"author":{"name":"Andrei Tamas","email":"andrei.tamas101@gmail.com","url":"https://github.com/atamas101"},"contributors":[{"name":"Luke Edwards","email":"luke@lukeed.com","url":"https://lukeed.com"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"standard && mocha"},"main":"index.js","keywords":["gulpplugin","rev","revving","revision","hash","optimize","version","versioning","cache","expire","static","asset","assets","format"],"dependencies":{"plugin-error":"^1.0.0","modify-filename":"^1.1.0","object-assign":"^4.0.1","through2":"^2.0.0"},"devDependencies":{"mocha":"^2.5.3","standard":"^7.1.2","standard-format":"^2.2.1"},"gitHead":"904e0719cade404e4444186d68c67c3af395cfd3","bugs":{"url":"https://github.com/atamas101/gulp-rev-format/issues"},"homepage":"https://github.com/atamas101/gulp-rev-format#readme","_id":"gulp-rev-format@1.0.5","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"atamas101","email":"andrei.tamas101@gmail.com"},"dist":{"integrity":"sha512-dX8+9BSjb4xbsE0Y4ZMd0ktPCg3pShT46k011qfjzjP4Rf7UF8ZQ8khGScIV2oZT1usZC2V6qhJczWpHos0CBw==","shasum":"fc377635b315a0698173f815ce5ae5c42cefbd81","tarball":"https://registry.npmjs.org/gulp-rev-format/-/gulp-rev-format-1.0.5.tgz","fileCount":4,"unpackedSize":5964,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaMt6CRA9TVsSAnZWagAAeZcP/R+Fl8DJCeGyf7i11Xcu\nGKgss70WEihtd5I+MZ4MVkS3ewm0SgadX6BjYoU0fK2vaWytGgr+K0yDNrzu\ntLF52NjgjMgCK1ZSNWbkE5N4hfdMu/Cz2ee0HmWlLOdlFyIXdY5f/rF/Wbia\nq3yN7KkrK1j35jHYdJ+yxVdi0T45svjuE1IyKRp/M5BMIiESxlIEKH3TGqC5\nPh1/P4oP/tNjTNfgpM8LOesCB7DVLeXUkWw9Xok2GrWlewVK8uthcmpdsB+e\nt2k3HLh+GVnHQSUo3dUS+7eFg9ifTEq2y/N9CqkY66qrRrDfYI5rx23lGZze\nuwl32QBWoADziZRrf7vT9UdKY251rXnZqygeN4TyJr5CYMLcxBzmjPw0WXI+\nFODjO8mKP2s5F3zxKwotULsF3/2YqPt5IgrUiJ7Wr7PKFPlKmpjNqAAOFSeo\nLVq5Dgm8FkMjjEFbIR9lg/TM5fhF0fVzmmJQmG4nDFAhEAxRcuiNHntj4LBM\niDDzUHPBfcpz3EmeD87mxNPZWU/m7VsE9ktDkNE8s+6RiuhZwBzbcPSETN4k\neXsWmyr9bI0FuTzHAd27fqjAQIkI+kR2kvwBYrvJmGr8O2e/rMI1LOIEOBk3\nosBYpbZA+6JexjBHX9vuz23/J/eE4UAJiOll9C9QR2/hoxRI1E1Z9AhGTsJg\nWg19\r\n=O1Cm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9Zl9a4g9maCPpVy+0HDZyHhMuMoJP867xd3Wucpk5lAIgW7CZ0H/FKYx3Gb0JjBuvCjTVBi61RTzjldLF/o8jm6Y="}]},"maintainers":[{"name":"atamas101","email":"andrei.tamas101@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-rev-format_1.0.5_1567148921806_0.6132607919075617"},"_hasShrinkwrap":false}},"readme":"# gulp-rev-format [![Build Status](https://travis-ci.org/atamas101/gulp-rev-format.svg?branch=master)](https://travis-ci.org/atamas101/gulp-rev-format) | [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\n\n> Formatting options for static revisioned assets generated by [gulp-rev](https://github.com/sindresorhus/gulp-rev) or [gulp-git-rev](https://github.com/Collaborne/gulp-git-rev): \n> `unicorn.css` → `unicorn[pre]d41d8cd98f[pre].css`\n\n\nMake sure to set the files to [never expire](http://developer.yahoo.com/performance/rules.html#expires) for this to have an effect.\n\n\n## Install\n\n```\n$ npm install --save-dev gulp-rev-format\n```\n\n\n## Usage\n\n```js\nvar gulp = require('gulp');\nvar rev = require('gulp-rev');\nvar revFormat = require('gulp-rev-format');\n\ngulp.task('default', function () {\n\treturn gulp.src('src/*.*')\n\t\t.pipe(rev())\n\t\t.pipe(revFormat({\n            prefix: '.',\n            suffix: '.cache',\n            lastExt: false\n        }))\n\t\t.pipe(gulp.dest('dist'))\n\t\t.pipe(rev.manifest())\n\t\t.pipe(gulp.dest('dist'));\n});\n```\n\n\n## API\n\n### revFormat([options])\n\n##### prefix\n\nType: `string`\nDefault: `\"-\"`\n\nPrefix appended to Hash.\n\n##### suffix\n\nType: `string`\nDefault: `\"\"`\n\nSuffix appended to Hash.\n\n##### lastExt\n\nType: `boolean`\nDefault: `false`\n\nAppend formatted Hash just before last extension of a file.\n\n(By default, gulp-rev and this plugin will append the formated Hash just before the first `.` of a filename)\n\nIf `true`, `unicorn.ext1.ext2.css` would become\n`unicorn.ext1.ext2-<prefix>d41d8cd98f<suffix>.css`\n\n**Note** with default options, output is the same with gulp-rev: `unicorn.css` → `unicorn-d41d8cd98f.css`\n\n### Requirements\n\nFiles passed must have passed through **gulp-rev**, so they would have `file.revOrigPath` and `file.revHash` added ([read more](https://github.com/sindresorhus/gulp-rev#original-path)).\n\n\n## Acknowledgements\n\n- [gulp-rev](https://github.com/sindresorhus/gulp-rev)'s author and maintainers - For their awesome work on gulp-rev\n- [@lukeed](https://github.com/lukeed) - For suggesting the solution for this task\n\n## License\n\nMIT © [Andrei Tamas](https://github.com/atamas101)\n","maintainers":[{"name":"atamas101","email":"andrei.tamas101@gmail.com"}],"time":{"modified":"2022-06-18T17:52:05.604Z","created":"2016-06-15T01:16:32.198Z","1.0.0":"2016-06-15T01:16:32.198Z","1.0.1":"2016-06-15T02:09:58.579Z","1.0.2":"2016-06-15T02:16:11.949Z","1.0.3":"2016-06-15T02:29:07.820Z","1.0.4":"2016-06-15T02:33:47.742Z","1.0.5":"2019-08-30T07:08:41.961Z"},"homepage":"https://github.com/atamas101/gulp-rev-format#readme","keywords":["gulpplugin","rev","revving","revision","hash","optimize","version","versioning","cache","expire","static","asset","assets","format"],"repository":{"type":"git","url":"git+https://github.com/atamas101/gulp-rev-format.git"},"contributors":[{"name":"Luke Edwards","email":"luke@lukeed.com","url":"https://lukeed.com"}],"author":{"name":"Andrei Tamas","email":"andrei.tamas101@gmail.com","url":"https://github.com/atamas101"},"bugs":{"url":"https://github.com/atamas101/gulp-rev-format/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"atamas101":true}}