{"id":16845671,"url":"https://github.com/othree/gulp-path-modifier","last_synced_at":"2025-03-18T06:26:32.909Z","repository":{"id":14652025,"uuid":"17370155","full_name":"othree/gulp-path-modifier","owner":"othree","description":"Modify relative url of selected HTML nodes","archived":false,"fork":false,"pushed_at":"2014-03-05T07:14:00.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T04:45:32.636Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/othree/gulp-path-modifier","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/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":"2014-03-03T15:27:21.000Z","updated_at":"2014-03-05T07:14:00.000Z","dependencies_parsed_at":"2022-09-16T10:51:35.103Z","dependency_job_id":null,"html_url":"https://github.com/othree/gulp-path-modifier","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-path-modifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othree%2Fgulp-path-modifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othree%2Fgulp-path-modifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/othree%2Fgulp-path-modifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/othree","download_url":"https://codeload.github.com/othree/gulp-path-modifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244168215,"owners_count":20409482,"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-13T12:59:35.647Z","updated_at":"2025-03-18T06:26:32.885Z","avatar_url":"https://github.com/othree.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Modify relative url of selected elements\n\nUSAGE\n-----\n\n\n    function modifier(link) {\n      \"use strict\";\n      if (link \u0026\u0026 !/^((http|https|ftp|rtsp|mms):)?\\/\\//.test(link)) {\n        return '/appended-path' + link;\n      }\n      return link;\n    }\n\n    gulp.task('default', function () {\n      \"use strict\";\n\n      gulp.src('./cases/*.html')\n        .pipe(modf('img', modifier))\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-path-modifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fothree%2Fgulp-path-modifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fothree%2Fgulp-path-modifier/lists"}