{"id":20483520,"url":"https://github.com/cbuschka/gulp-if-any-newer","last_synced_at":"2025-08-04T12:37:20.743Z","repository":{"id":63255262,"uuid":"101919227","full_name":"cbuschka/gulp-if-any-newer","owner":"cbuschka","description":"Gulp plugin- Pass through all source files if any source file is newer than any dest file.","archived":false,"fork":false,"pushed_at":"2020-09-03T05:23:37.000Z","size":9,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-25T03:29:02.594Z","etag":null,"topics":["cache","cached","changed","file","files","filter","gulp","gulp-plugin","modification","modified","mtime","newer","passthrough","stat","time","updated"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbuschka.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-30T19:10:47.000Z","updated_at":"2020-09-03T05:31:54.000Z","dependencies_parsed_at":"2022-11-15T22:06:09.572Z","dependency_job_id":null,"html_url":"https://github.com/cbuschka/gulp-if-any-newer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbuschka%2Fgulp-if-any-newer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbuschka%2Fgulp-if-any-newer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbuschka%2Fgulp-if-any-newer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbuschka%2Fgulp-if-any-newer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbuschka","download_url":"https://codeload.github.com/cbuschka/gulp-if-any-newer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234148549,"owners_count":18787032,"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":["cache","cached","changed","file","files","filter","gulp","gulp-plugin","modification","modified","mtime","newer","passthrough","stat","time","updated"],"created_at":"2024-11-15T16:17:50.057Z","updated_at":"2025-01-16T04:23:13.903Z","avatar_url":"https://github.com/cbuschka.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-if-any-newer\n\n#### Pass through all source files if any source file is newer than any dest file.\n\n## Usage\n\n```js\nconst gulp = require('gulp');\nconst ifAnyNewer = require('gulp-if-any-newer');\nconst anyConsumer = require('gulp-any-consumer');\n\nconst SRC = 'src/*.js';\nconst DEST = 'dist';\n\ngulp.task('default', () =\u003e\n  gulp.src(SRC)\n    .pipe(ifAnyNewer(DEST, { filter: '**/*', debug: true }))\n    // anyConsumer will only get the files feeded in\n    // if any source file is newer than any file in dest\n    .pipe(anyConsumer())\n    .pipe(gulp.dest(DEST));\n);\n```\n\n## Related Gulp Plugins\n* [gulp-newer](https://github.com/tschaub/gulp-newer)\n* [gulp-changed](https://github.com/sindresorhus/gulp-changed)\n* [gulp-changed-in-place](https://github.com/alexgorbatchev/gulp-changed-in-place)\n\n## Contributing\nThanks to all contributors! This is open source, Pull Requests are welcome!\n\n## License\n\nCopyright (c) 2017-2020 by [Cornelius Buschka](https://github.com/cbuschka)\n\n[MIT License](license)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbuschka%2Fgulp-if-any-newer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbuschka%2Fgulp-if-any-newer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbuschka%2Fgulp-if-any-newer/lists"}