{"id":15207347,"url":"https://github.com/shellscape/gulp-scan","last_synced_at":"2025-10-03T01:30:44.481Z","repository":{"id":57258936,"uuid":"50269773","full_name":"shellscape/gulp-scan","owner":"shellscape","description":"A Gulp plugin to scan a file for a particular string or expression","archived":true,"fork":false,"pushed_at":"2018-01-18T08:47:14.000Z","size":14,"stargazers_count":5,"open_issues_count":2,"forks_count":4,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-30T02:40:42.969Z","etag":null,"topics":["find","gulp","gulp-plugin","gulp-tasks","gulpjs","nodejs","npm","scanner","search"],"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/shellscape.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":"2016-01-24T03:03:04.000Z","updated_at":"2023-01-28T21:12:03.000Z","dependencies_parsed_at":"2022-08-28T21:02:31.742Z","dependency_job_id":null,"html_url":"https://github.com/shellscape/gulp-scan","commit_stats":null,"previous_names":["gilt/gulp-scan"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellscape%2Fgulp-scan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellscape%2Fgulp-scan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellscape%2Fgulp-scan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellscape%2Fgulp-scan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shellscape","download_url":"https://codeload.github.com/shellscape/gulp-scan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235059234,"owners_count":18929279,"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":["find","gulp","gulp-plugin","gulp-tasks","gulpjs","nodejs","npm","scanner","search"],"created_at":"2024-09-28T06:41:54.748Z","updated_at":"2025-10-03T01:30:44.108Z","avatar_url":"https://github.com/shellscape.png","language":"JavaScript","readme":"# gulp-scan [![Build Status](https://travis-ci.org/shellscape/gulp-scan.svg?branch=master)](https://travis-ci.org/shellscape/gulp-scan)\n\nA plugin to scan a file for a string or expression\n\n\n## \u0026nbsp;\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e:rocket: \u0026nbsp; Are you ready to tackle ES6 and hone your JavaScript Skills?\u003c/b\u003e \u0026nbsp; :rocket:\u003cbr/\u003e\n  Check out these outstanding \u003ca href=\"https://es6.io/friend/POWELL\"\u003eES6 courses\u003c/a\u003e by \u003ca href=\"https://github.com/wesbos\"\u003e@wesbos\u003c/a\u003e\n\u003c/p\u003e\n---\n\n## Install\n\n```\n$ npm install --save-dev gulp-scan\n```\n\n\n## Usage\n\n```js\nvar gulp = require('gulp');\nvar scan = require('gulp-scan');\n\ngulp.task('default', function () {\n\treturn gulp.src('src/file.ext')\n\t\t.pipe(scan({ term: '@import', fn: function (match, file) {\n\t\t\t// do something with {String} `match`\n\t\t\t// `file` is a clone of the vinyl file.\n\t\t}}));\n});\n```\n\n\n## API\n\n### scan(options)\n\n#### options\n\n##### term\n\nType: `string` or `RegExp`  \n\nA term to scan the file for. Can be either a string or regular expression.\n\n##### fn\n\nType: `Function`  \n\nA function that will receive the individual matches found in a file.\n\n## License\n\nMIT © [Gilt Groupe](https://github.com/gilt)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellscape%2Fgulp-scan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshellscape%2Fgulp-scan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellscape%2Fgulp-scan/lists"}