{"id":21714836,"url":"https://github.com/redraw/gulp-rev-qs","last_synced_at":"2026-04-11T20:02:13.197Z","repository":{"id":85516417,"uuid":"46927075","full_name":"redraw/gulp-rev-qs","owner":"redraw","description":"Assets cache-busting plugin for gulp","archived":false,"fork":false,"pushed_at":"2015-11-26T13:19:32.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T17:33:18.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redraw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-26T13:03:04.000Z","updated_at":"2017-04-06T18:52:21.000Z","dependencies_parsed_at":"2023-03-10T08:49:05.601Z","dependency_job_id":null,"html_url":"https://github.com/redraw/gulp-rev-qs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Fgulp-rev-qs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Fgulp-rev-qs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Fgulp-rev-qs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Fgulp-rev-qs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redraw","download_url":"https://codeload.github.com/redraw/gulp-rev-qs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244676454,"owners_count":20491828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T00:39:06.023Z","updated_at":"2026-04-11T20:02:08.170Z","avatar_url":"https://github.com/redraw.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#gulp-rev-qs [![Build][travis-image]][travis-url]\nThe [gulp](http://gulpjs.com/) plugin for cache-busting files using query string.\n\ne.g. ```\u003cscript src=\"/js/awesome.js?rev=3457654245\"\u003e\u003c/script\u003e```\n##Install\n```\nnpm install quex46/gulp-rev-qs --save\n```\n##Usage\n```\n-app/\n  |-gulpfile.js\n  |-assets/\n  |-views/\n```\n```javascript\n// gulpfile.js\nvar gulp = require('gulp');\nvar rev = require('gulp-rev-qs');\n\ngulp.task('rev', function () {\n  return gulp.src('views/**/*.html') // get all *.html files from ./views/\n    .pipe(rev('./assets'))           // populate all \"?rev=0\" queries with checksums\n    .pipe(gulp.dest('rev_views'));   // save populated html-files in ./rev_views/\n});\n```\n```\n$ gulp rev\n```\n## Options (*String*|*Object*)\n**options.base** *String* - assets basepath\n\n**options.resolver** *Function* - use this param if you would dinamically resolve asset filepath. See example [here](https://github.com/quex46/gulp-rev-qs/issues/1)\n\n``rev('./assets')`` is identical to ``rev({base: './assets'})``\n##Running tests\n```\nnpm test\n```\n##License\ngulp-rev-qs is licensed under the MIT License.\n\n[travis-url]: https://travis-ci.org/quex46/gulp-rev-qs\n[travis-image]: https://travis-ci.org/quex46/gulp-rev-qs.svg?branch=master\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredraw%2Fgulp-rev-qs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredraw%2Fgulp-rev-qs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredraw%2Fgulp-rev-qs/lists"}