{"id":15042833,"url":"https://github.com/sindresorhus/gulp-debug","last_synced_at":"2025-05-16T15:07:25.329Z","repository":{"id":13077239,"uuid":"15758162","full_name":"sindresorhus/gulp-debug","owner":"sindresorhus","description":"Debug Vinyl file streams to see what files are run through your Gulp pipeline","archived":false,"fork":false,"pushed_at":"2023-11-03T08:41:43.000Z","size":79,"stargazers_count":221,"open_issues_count":1,"forks_count":29,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-07T17:22:28.161Z","etag":null,"topics":["debug","gulp-plugin","javascript","nodejs","vinyl"],"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/sindresorhus.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/security.md","support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"sindresorhus","open_collective":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2014-01-09T06:06:38.000Z","updated_at":"2025-01-07T20:10:51.000Z","dependencies_parsed_at":"2024-01-11T08:09:37.647Z","dependency_job_id":"27a070c7-2bc9-472b-8937-d4eb12cc631f","html_url":"https://github.com/sindresorhus/gulp-debug","commit_stats":{"total_commits":51,"total_committers":7,"mean_commits":7.285714285714286,"dds":"0.11764705882352944","last_synced_commit":"f40fbf157537579d6cd56f1b6a1ecce85223e478"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgulp-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgulp-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgulp-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgulp-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/gulp-debug/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254529314,"owners_count":22086406,"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":["debug","gulp-plugin","javascript","nodejs","vinyl"],"created_at":"2024-09-24T20:48:04.323Z","updated_at":"2025-05-16T15:07:25.310Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","readme":"# gulp-debug\n\n\u003e Debug [Vinyl](https://github.com/gulpjs/vinyl) file streams to see what files are run through your Gulp pipeline\n\n\u003cimg src=\"screenshot.png\" width=\"415\"\u003e\n\n## Install\n\n```sh\nnpm install --save-dev gulp-debug\n```\n\n## Usage\n\n```js\nimport gulp from 'gulp';\nimport debug from 'gulp-debug';\n\nexport default () =\u003e (\n\tgulp.src('foo.js')\n\t\t.pipe(debug({title: 'unicorn:'}))\n\t\t.pipe(gulp.dest('dist'))\n);\n```\n\n## API\n\n### debug(options?)\n\n#### options\n\nType: `object`\n\n##### title\n\nType: `string`\\\nDefault: `'gulp-debug:'`\n\nGive it a custom title so it's possible to distinguish the output of multiple instances logging at once.\n\n##### minimal\n\nType: `boolean`\\\nDefault: `true`\n\nBy default only relative paths are shown. Turn off minimal mode to also show `cwd`, `base`, `path`.\n\nThe [`stat` property](https://nodejs.org/api/fs.html#fs_class_fs_stats) will be shown when you run gulp in verbose mode: `gulp --verbose`.\n\n##### showFiles\n\nType: `boolean`\\\nDefault: `true`\n\nPrint filenames.\n\n##### showCount\n\nType: `boolean`\\\nDefault: `true`\n\nPrint the file count.\n\n##### logger(message)\n\nType: `Function`\\\nDefault: `console.log`\n\nProvide your own logging utility.\n\nThe message is passed as a string in the first argument. Note that [ANSI colors](https://github.com/chalk/chalk) may be used in the message.\n","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["插件","Plugins"],"sub_categories":["日志","Logging"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fgulp-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fgulp-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fgulp-debug/lists"}