{"id":21565152,"url":"https://github.com/cfware/gulp-skip-file","last_synced_at":"2025-03-18T05:17:36.907Z","repository":{"id":57258977,"uuid":"134598313","full_name":"cfware/gulp-skip-file","owner":"cfware","description":"Gulp plugin to skip files.","archived":false,"fork":false,"pushed_at":"2020-06-03T09:18:16.000Z","size":29,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-29T17:23:12.698Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cfware.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":"2018-05-23T16:36:11.000Z","updated_at":"2020-02-09T09:15:16.000Z","dependencies_parsed_at":"2022-08-28T21:41:55.007Z","dependency_job_id":null,"html_url":"https://github.com/cfware/gulp-skip-file","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fgulp-skip-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fgulp-skip-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fgulp-skip-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfware%2Fgulp-skip-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfware","download_url":"https://codeload.github.com/cfware/gulp-skip-file/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244160055,"owners_count":20408021,"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-24T10:18:35.832Z","updated_at":"2025-03-18T05:17:36.888Z","avatar_url":"https://github.com/cfware.png","language":"JavaScript","readme":"# gulp-skip-file\n\n[![Travis CI][travis-image]][travis-url]\n[![Greenkeeper badge][gk-image]](https://greenkeeper.io/)\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![MIT][license-image]](LICENSE)\n\nGulp plugin to skip files.\n\n### Install gulp-skip-file\n\nThis module requires node.js 6 or above.\n\n```sh\nnpm i --save-dev gulp-skip-file\n```\n\n## Usage\n\nThis is a pointless example as you can simply use `!` patterns on `gulp.src`.\nThe purpose of this module is to skip files added to a stream by an outside\nmodule, where you do not control the call to `gulp.src`.\n\n```js\n'use strict';\n\nconst gulp = require('gulp');\nconst gulpIf = require('gulp-if');\nconst gulpSkipFile = require('gulp-skip-file');\n\ngulp.task('default', function() {\n\treturn gulp.src('src/**')\n\t\t.pipe(gulpIf(/\\.ts/, gulpSkipFile()))\n\t\t.pipe(gulp.dest('build'));\n});\n```\n\nAs shown gulpIf or another similar function should be used to restrict which\nfiles are skipped.\n\n## Running tests\n\nTests are provided by xo and ava.\n\n```sh\nnpm install\nnpm test\n```\n\n[npm-image]: https://img.shields.io/npm/v/gulp-skip-file.svg\n[npm-url]: https://npmjs.org/package/gulp-skip-file\n[travis-image]: https://travis-ci.org/cfware/gulp-skip-file.svg?branch=master\n[travis-url]: https://travis-ci.org/cfware/gulp-skip-file\n[gk-image]: https://badges.greenkeeper.io/cfware/gulp-skip-file.svg\n[downloads-image]: https://img.shields.io/npm/dm/gulp-skip-file.svg\n[downloads-url]: https://npmjs.org/package/gulp-skip-file\n[license-image]: https://img.shields.io/github/license/cfware/gulp-skip-file.svg\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfware%2Fgulp-skip-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfware%2Fgulp-skip-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfware%2Fgulp-skip-file/lists"}