{"id":14959296,"url":"https://github.com/kindspells/astro-shield","last_synced_at":"2025-04-05T12:08:55.608Z","repository":{"id":221891446,"uuid":"755692337","full_name":"kindspells/astro-shield","owner":"kindspells","description":"Astro integration to enhance your website's security with SubResource Integrity hashes, Content-Security-Policy headers, and other techniques.","archived":false,"fork":false,"pushed_at":"2024-11-18T07:47:47.000Z","size":989,"stargazers_count":57,"open_issues_count":29,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-24T20:08:35.597Z","etag":null,"topics":["astro","astro-integration","content-security-policy","hacktoberfest","hacktoberfest2024","javascript","security","subresource-integrity","withastro","xss-protection"],"latest_commit_sha":null,"homepage":"https://astro-shield.kindspells.dev","language":"TypeScript","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/kindspells.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["KindSpells","castarco"],"open_collective":"kindspells-labs","polar":"kindspells"}},"created_at":"2024-02-10T20:26:48.000Z","updated_at":"2024-11-13T16:18:19.000Z","dependencies_parsed_at":"2024-02-27T12:10:20.008Z","dependency_job_id":"4d4a0a3d-626e-4676-a489-e5b7b7968e2c","html_url":"https://github.com/kindspells/astro-shield","commit_stats":{"total_commits":154,"total_committers":5,"mean_commits":30.8,"dds":"0.13636363636363635","last_synced_commit":"6cb8dff18d3eff51492466fd3029c591cd1f61df"},"previous_names":["kindspells/astro-csp-sri-postbuild","kindspells/astro-sri-csp","kindspells/astro-shield"],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindspells%2Fastro-shield","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindspells%2Fastro-shield/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindspells%2Fastro-shield/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindspells%2Fastro-shield/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kindspells","download_url":"https://codeload.github.com/kindspells/astro-shield/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332612,"owners_count":20921853,"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":["astro","astro-integration","content-security-policy","hacktoberfest","hacktoberfest2024","javascript","security","subresource-integrity","withastro","xss-protection"],"created_at":"2024-09-24T13:19:21.876Z","updated_at":"2025-04-05T12:08:55.586Z","avatar_url":"https://github.com/kindspells.png","language":"TypeScript","funding_links":["https://github.com/sponsors/KindSpells","https://github.com/sponsors/castarco","https://opencollective.com/kindspells-labs","https://polar.sh/kindspells"],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2024 KindSpells Labs S.L.\n\nSPDX-License-Identifier: CC-BY-4.0\n--\u003e\n# Astro-Shield\n\n[![NPM Version](https://img.shields.io/npm/v/%40kindspells%2Fastro-shield)](https://www.npmjs.com/package/@kindspells/astro-shield)\n![NPM Downloads](https://img.shields.io/npm/dw/%40kindspells%2Fastro-shield)\n![GitHub commit activity](https://img.shields.io/github/commit-activity/w/kindspells/astro-shield)\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/kindspells/astro-shield/tests.yml)\n[![Socket Badge](https://socket.dev/api/badge/npm/package/@kindspells/astro-shield)](https://socket.dev/npm/package/@kindspells/astro-shield)\n[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8733/badge)](https://www.bestpractices.dev/projects/8733)\n\n## Introduction\n\nAstro-Shield helps you to enhance the security of your Astro site.\n\n## How to install\n\n```bash\n# With NPM\nnpm install --save-dev @kindspells/astro-shield\n\n# With Yarn\nyarn add --dev @kindspells/astro-shield\n\n# With PNPM\npnpm add --save-dev @kindspells/astro-shield\n```\n\n## How to use\n\nIn your `astro.config.mjs` file:\n\n```javascript\nimport { defineConfig } from 'astro/config'\nimport { shield } from '@kindspells/astro-shield'\n\nexport default defineConfig({\n  integrations: [\n    shield({})\n  ]\n})\n```\n\n## Learn more\n\n- [Astro-Shield Documentation](https://astro-shield.kindspells.dev)\n\n## Other Relevant Guidelines\n\n- [Code of Conduct](https://github.com/KindSpells/astro-shield?tab=coc-ov-file)\n- [Contributing Guidelines](https://github.com/KindSpells/astro-shield/blob/main/CONTRIBUTING.md)\n- [Security Policy](https://github.com/KindSpells/astro-shield/security/policy)\n\n## Main Contributors\n\nThis library has been created and is being maintained by\n[KindSpells Labs](https://kindspells.dev/?utm_source=github\u0026utm_medium=astro_sri_scp\u0026utm_campaign=floss).\n\n## License\n\nThis library is released under [MIT License](https://github.com/KindSpells/astro-shield?tab=MIT-1-ov-file).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkindspells%2Fastro-shield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkindspells%2Fastro-shield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkindspells%2Fastro-shield/lists"}