{"id":15019551,"url":"https://github.com/dvelasquez/vue-link-pre","last_synced_at":"2026-02-06T20:03:03.206Z","repository":{"id":47735856,"uuid":"234803160","full_name":"dvelasquez/vue-link-pre","owner":"dvelasquez","description":"A simple plugin that adds \u003clink rel=\"preload\"\u003e and \u003clink rel=\"prefetch\"\u003e to a vue application","archived":false,"fork":false,"pushed_at":"2023-07-11T02:16:37.000Z","size":35,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T19:30:00.500Z","etag":null,"topics":["performance","plugin","prefetch","preload","vue"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dvelasquez.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-18T21:56:25.000Z","updated_at":"2021-08-16T03:52:13.000Z","dependencies_parsed_at":"2024-09-24T21:00:59.521Z","dependency_job_id":null,"html_url":"https://github.com/dvelasquez/vue-link-pre","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"541c1febd92649ccf359de2a401168dd575bb495"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dvelasquez/vue-link-pre","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvelasquez%2Fvue-link-pre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvelasquez%2Fvue-link-pre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvelasquez%2Fvue-link-pre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvelasquez%2Fvue-link-pre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvelasquez","download_url":"https://codeload.github.com/dvelasquez/vue-link-pre/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvelasquez%2Fvue-link-pre/sbom","scorecard":{"id":360788,"data":{"date":"2025-08-11","repo":{"name":"github.com/dvelasquez/vue-link-pre","commit":"541c1febd92649ccf359de2a401168dd575bb495"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","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":"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":"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":"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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 4 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"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-5j4c-8p2g-v4jx"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T10:48:12.190Z","repository_id":47735856,"created_at":"2025-08-18T10:48:12.190Z","updated_at":"2025-08-18T10:48:12.190Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29174335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T19:56:27.068Z","status":"ssl_error","status_checked_at":"2026-02-06T19:56:18.934Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["performance","plugin","prefetch","preload","vue"],"created_at":"2024-09-24T19:53:41.059Z","updated_at":"2026-02-06T20:03:03.182Z","avatar_url":"https://github.com/dvelasquez.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a forked project from https://github.com/shershen08/vue-preload\n\nTool for [Vue.js SSR apps](https://vuejs.org/v2/guide/ssr.html) that include other resources that may be handy to preload to improve performance.\n\n## Install\n\n```sh\nnpm install vue-link-pre --save\nyarn add vue-link-pre\n```\n\n## Usage\n\n```js\nimport VueLinkPre from 'vue-link-pre'\n\nVue.use(VueLinkPre)\n\n// dynamically add single item\n// by default the type 'script' is assigned\n// and the rel=\"preload\"\nVue.addPreLink('https://cdnjs.cloudflare.com/ajax/libs/extjs/6.2.0/ext-all.js')\n\n// add multiple items at once\nVue.preGroup({\n  script: [\n    'https://cdnjs.cloudflare.com/ajax/libs/extjs/6.2.0/ext-all.js',\n    'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js',\n  ],\n  style: ['https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta/css/bootstrap-reboot.min.css'],\n  image: ['https://www.google.nl/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png'],\n}, 'prefetch')\n```\n\n## API\n\n**Vue.addPreLink(link, elementRef)**\n\nPreload single resource. You can provide type ('image'|'script'|'font'|'etc') and a elementRef ('preload'|'prefetch')\n\n**Vue.preloadGroup(resourceMap)**\n\nPreload group of resources of multiple types. The map keys are limited to valid preload asset types:\nscript, style, image, media, document, font.\nAlso, you can define if is a preload or a prefetch.\n\n## Other details\n\nThis library adds an id using `vue-link-pre${hash}` of the url to preload, to avoid duplicating the element in the DOM.\n\n## See also\n\n- [smashingmagazine.com Preload: What Is It Good For? By Yoav Weiss](https://www.smashingmagazine.com/2016/02/preload-what-is-it-good-for/)\n- [current browser support for \u003clink rel=\"preload\"](http://caniuse.com/#search=preload)\n\n## License \n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvelasquez%2Fvue-link-pre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvelasquez%2Fvue-link-pre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvelasquez%2Fvue-link-pre/lists"}