{"id":16846610,"url":"https://github.com/othree/gulp-attr-remover","last_synced_at":"2025-07-29T21:09:39.026Z","repository":{"id":29562902,"uuid":"33102249","full_name":"othree/gulp-attr-remover","owner":"othree","description":"Remove element attribute if predicate is true","archived":false,"fork":false,"pushed_at":"2015-03-30T06:11:18.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-27T13:40:18.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/gulp-attr-remover","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"aegif/CmisSync","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/othree.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":"2015-03-30T03:57:32.000Z","updated_at":"2019-10-16T00:23:13.000Z","dependencies_parsed_at":"2022-08-22T08:40:51.192Z","dependency_job_id":null,"html_url":"https://github.com/othree/gulp-attr-remover","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othree%2Fgulp-attr-remover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othree%2Fgulp-attr-remover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othree%2Fgulp-attr-remover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othree%2Fgulp-attr-remover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/othree","download_url":"https://codeload.github.com/othree/gulp-attr-remover/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244189829,"owners_count":20412991,"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-10-13T13:03:54.182Z","updated_at":"2025-03-18T09:12:29.302Z","avatar_url":"https://github.com/othree.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Remove element attribute if predicate is true\n\nUSAGE\n-----\n\n\n    function predicate(elem) {\n      \"use strict\";\n      if (!/^((ftp|rtsp|mms):)?\\/\\//.test(elem.attr('href'))) {\n        return true;\n      }\n      return false;\n    }\n\n    gulp.task('default', function () {\n      \"use strict\";\n\n      gulp.src('./cases/*.html')\n        .pipe(modf('a', 'href', predicate))\n        .pipe(gulp.dest('./output'));\n    });\n\n\nLICENSE\n-------\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fothree%2Fgulp-attr-remover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fothree%2Fgulp-attr-remover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fothree%2Fgulp-attr-remover/lists"}