{"id":15021474,"url":"https://github.com/jameshemery/gulp-append-prepend","last_synced_at":"2025-08-15T22:39:12.998Z","repository":{"id":46954936,"uuid":"63022966","full_name":"JamesHemery/gulp-append-prepend","owner":"JamesHemery","description":":heavy_plus_sign: Simple Gulp plugin to append/prepend.","archived":false,"fork":false,"pushed_at":"2022-06-01T21:12:23.000Z","size":38,"stargazers_count":15,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-15T10:33:20.359Z","etag":null,"topics":["gulp","gulp-plugins","plugin","tool"],"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/JamesHemery.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-10T23:30:55.000Z","updated_at":"2022-07-12T22:28:33.000Z","dependencies_parsed_at":"2022-09-26T18:51:23.977Z","dependency_job_id":null,"html_url":"https://github.com/JamesHemery/gulp-append-prepend","commit_stats":null,"previous_names":["noczcore/gulp-append-prepend"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/JamesHemery/gulp-append-prepend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesHemery%2Fgulp-append-prepend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesHemery%2Fgulp-append-prepend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesHemery%2Fgulp-append-prepend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesHemery%2Fgulp-append-prepend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JamesHemery","download_url":"https://codeload.github.com/JamesHemery/gulp-append-prepend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesHemery%2Fgulp-append-prepend/sbom","scorecard":{"id":70359,"data":{"date":"2025-08-11","repo":{"name":"github.com/JamesHemery/gulp-append-prepend","commit":"f78f2897b1f69c212f685a05d4f308cce2dd0076"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":4,"reason":"Found 4/9 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENCE:0","Info: FSF or OSI recognized license: MIT License: LICENCE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T03:43:19.930Z","repository_id":46954936,"created_at":"2025-08-15T03:43:19.930Z","updated_at":"2025-08-15T03:43:19.930Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270639372,"owners_count":24620724,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gulp","gulp-plugins","plugin","tool"],"created_at":"2024-09-24T19:56:37.060Z","updated_at":"2025-08-15T22:39:12.953Z","avatar_url":"https://github.com/JamesHemery.png","language":"JavaScript","readme":"# gulp-append-prepend\n\nSimple Gulp plugin.\n\n[![License:MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/JamesHemery/gulp-append-prepend/blob/master/LICENCE)\n[![npm](https://img.shields.io/npm/v/gulp-append-prepend.svg)](https://www.npmjs.com/package/gulp-append-prepend)\n[![Build](https://travis-ci.org/JamesHemery/gulp-append-prepend.svg)](https://travis-ci.org/JamesHemery/gulp-append-prepend)\n\n## Usage\n\nFirst, install gulp-append-prepend as a development dependency:\n```\nnpm install gulp-append-prepend --save-dev\n```\n\nThen, add it to your gulpfile.js:\n\n```javascript\nconst gap = require('gulp-append-prepend');\n\ngulp.task('myawesometask', function(){\n    gulp.src('index.html')\n        .pipe(gap.prependFile('header.html'))\n        .pipe(gap.prependText('\u003c!-- HEADER --\u003e'))\n        .pipe(gap.appendText('\u003c!-- FOOTER --\u003e'))\n        .pipe(gap.appendFile('footer.html'))\n        .pipe(gulp.dest('www/'));\n});\n```\n\nThis example works with html but you can use any type of file.\n\n## Methods\n- ``appendFile(filepath, separator)`` The filepath can be an array. The separator is optional by default is \"\\n\".\n- ``prependFile(filepath, separator)`` The filepath can be an array. The separator is optional by default is \"\\n\".\n- ``appendText(text, separator)`` The text can be an array. The separator is optional by default is \"\\n\".\n- ``prependText(text, separator)`` The text can be an array. The separator is optional by default is \"\\n\".\n\n## Licence\nThis plugin is released under the [MIT licence](./LICENCE).\n\n## Disclaimer\nFeel free to make changes in this README.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameshemery%2Fgulp-append-prepend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjameshemery%2Fgulp-append-prepend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameshemery%2Fgulp-append-prepend/lists"}