GitShow/sindresorhus/gulp-filter
sindresorhus

gulp-filter

Filter files in a `vinyl` stream

by sindresorhus
filtergulp-pluginjavascriptnodejs
Star on GitHubForknpm

JavaScript

312 stars34 forks14 contributorsQuiet · 4mo agoSince 2014v10.0.0MIT

Meet the team

See all 14 on GitHub →
sindresorhus
sindresorhus76 contributions
nfroidure
nfroidure7 contributions
cb1kenobi
cb1kenobi2 contributions
pioug
pioug2 contributions
mariocasciaro
mariocasciaro2 contributions
gucong3000
gucong30002 contributions
duncanbeevers
duncanbeevers1 contribution
leocaseiro
leocaseiro1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
pioug
Update dependenciesMergedPR

I am not updating to v4 because it requires large changes https://github.com/nfroidure/streamfilter/blob/master/CHANGELOG.md#400-2024-07-17 Updating the others deps fixes all the existing "vulnerabilities" It's a breaking change as we bump the minimum required version for Node

pioug · 4mo ago
sherlock1982
Gulp filter filters everythingClosedIssue

Version 5.0.0 works ok, version 5.0.1 broken. Looks like a change was made between 5.0.0 and 5.0.1 and now filter just skips everything. Here's a simplified code snippet which: function(svn_revision){ var xmlFilter = filter("../*/.xml", {restore: true}); return gulp.src([ "../Setup/Installed/Data/Http/Templates/*/", ], { base : '../' }) .pipe(xmlFilter) .pipe(replace('@PRODUCT_SVN_BUILD@', svn_revision)) .pipe(xmlFilter.restore) .pipe(gulp.dest("../BinRepo/Templates")); }, Expected behavior: All xml files should have @PRODUCT_SVN_BUILD@ replaced. Actual behavior: Looks like they're just written to dest folder. UPD: Looks like 5.0.0 doesn't work on Linux IssueHunt Summary sindresorhus has been rewarded. Backers (Total: $40.00) issuehunt ($40.00) Submitted pull Requests #25 Add function and component Tips Checkout the Issuehunt explorer to discover more funded issues. Need some help from other developers? Add your repositories on IssueHunt to raise funds.

sherlock1982 · 11mo ago
Scorpovi4
Is that possible to filter stream after changed it?ClosedIssue

I'm using template convertation from ejs to html and want to filter some files which have been converted from ejs to html but didn't transfer to the next gulp task.

Scorpovi4 · 11mo ago
Structured data for AI agents

Repository: sindresorhus/gulp-filter. Description: Filter files in a `vinyl` stream Stars: 312, Forks: 34. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Topics: filter, gulp-plugin, javascript, nodejs. Latest release: v10.0.0 (4mo ago). Open PRs: 0, open issues: 0. Last activity: 4mo ago. Community health: 85%. Top contributors: sindresorhus, nfroidure, cb1kenobi, pioug, mariocasciaro, gucong3000, duncanbeevers, leocaseiro, hoho, mjeanroy and others.

·@ofershap

Replace github.com with gitshow.dev