{"id":13792747,"url":"https://github.com/trezy/next-safe","last_synced_at":"2025-04-04T11:10:28.318Z","repository":{"id":41440762,"uuid":"304744549","full_name":"trezy/next-safe","owner":"trezy","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-01T23:57:00.000Z","size":579,"stargazers_count":176,"open_issues_count":10,"forks_count":22,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-28T10:06:49.119Z","etag":null,"topics":["hacktoberfest","nextjs","security"],"latest_commit_sha":null,"homepage":"https://trezy.gitbook.io/next-safe/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trezy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-10-16T21:42:31.000Z","updated_at":"2025-03-24T01:50:54.000Z","dependencies_parsed_at":"2024-06-18T15:19:22.298Z","dependency_job_id":"dc031730-900b-45bf-87be-c45ca4ae879b","html_url":"https://github.com/trezy/next-safe","commit_stats":{"total_commits":95,"total_committers":11,"mean_commits":8.636363636363637,"dds":0.7052631578947368,"last_synced_commit":"bd9ee39fa7f3c7f70ac068cf3361b6ac45f9bc23"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trezy%2Fnext-safe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trezy%2Fnext-safe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trezy%2Fnext-safe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trezy%2Fnext-safe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trezy","download_url":"https://codeload.github.com/trezy/next-safe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246981172,"owners_count":20863827,"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":["hacktoberfest","nextjs","security"],"created_at":"2024-08-03T22:01:15.585Z","updated_at":"2025-04-04T11:10:28.272Z","avatar_url":"https://github.com/trezy.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Libraries"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e\u003ccode\u003enext-safe\u003c/code\u003e\u003c/h1\u003e\n\u003c/div\u003e\n\n[![Version][version-badge]][package]\n[![Bundle size][bundlephobia-badge]][bundlephobia]\n[![Downloads][downloads-badge]][npmtrends]\n[![BSD-3-Clause License][license-badge]][license]\n\n[![Release status][release-status-badge]][release-status]\n[![Test status][test-status-badge]][test-status]\n[![Code Coverage][coveralls-badge]][coveralls]\n[![Maintainability][codeclimate-badge]][codeclimate]\n\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![PRs Welcome][prs-badge]][prs]\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-)\n[![Code of Conduct][code-of-conduct-badge]][code-of-conduct]\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\n[![Watch on GitHub][github-watch-badge]][github-watch]\n[![Star on GitHub][github-star-badge]][github-star]\n[![Tweet][twitter-badge]][twitter]\n\u003c!-- [![Dependencies][daviddm-badge]][daviddm] --\u003e\n\n`next-safe` helps secure your Next.js apps by providing sensible defaults for the most common security headers, including:\n\n* [`Content-Security-Policy`](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP)\n* [`Permissions-Policy`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy) (formerly known as `Feature-Policy`)\n* [`Referrer-Policy`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy)\n* [`X-Content-Type-Options`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options)\n* [`X-Frame-Options`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options)\n* [`X-XSS-Protection`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection)\n\nCheck out the full documentation at [https://trezy.gitbook.io/next-safe](https://trezy.gitbook.io/next-safe).\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://trezy.com\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/442980?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eTrezy\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/trezy/next-safe/issues?q=author%3Atrezy\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/trezy/next-safe/commits?author=trezy\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#example-trezy\" title=\"Examples\"\u003e💡\u003c/a\u003e \u003ca href=\"#ideas-trezy\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"#infra-trezy\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"#maintenance-trezy\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e \u003ca href=\"https://github.com/trezy/next-safe/pulls?q=is%3Apr+reviewed-by%3Atrezy\" title=\"Reviewed Pull Requests\"\u003e👀\u003c/a\u003e \u003ca href=\"https://github.com/trezy/next-safe/commits?author=trezy\" title=\"Tests\"\u003e⚠️\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/UncleClapton\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/2686824?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eCameron Welter\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/trezy/next-safe/issues?q=author%3AUncleClapton\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/trezy/next-safe/commits?author=UncleClapton\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#ideas-UncleClapton\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"#maintenance-UncleClapton\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e \u003ca href=\"https://github.com/trezy/next-safe/commits?author=UncleClapton\" title=\"Tests\"\u003e⚠️\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://www.linkedin.com/in/zomars/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/3504472?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eOmar López\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/trezy/next-safe/commits?author=zomars\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/frattaro\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/14955351?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAnton Frattaroli\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/trezy/next-safe/issues?q=author%3Afrattaro\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/april-ctrlspire\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/79557092?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eapril-ctrlspire\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#ideas-april-ctrlspire\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/JLucasCAmorim\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/27377264?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJoão Lucas Evangelista C. de Amorim\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/trezy/next-safe/issues?q=author%3AJLucasCAmorim\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/trezy/next-safe/commits?author=JLucasCAmorim\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/anvelicon\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/39614095?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eanvelicon\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/trezy/next-safe/commits?author=anvelicon\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/trezy/next-safe/commits?author=anvelicon\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"#ideas-anvelicon\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! Check out our [contributing docs](./CONTRIBUTING.md) for help getting started!\n\n\n\n\n\n[bundlephobia]: https://bundlephobia.com/package/next-safe\n[bundlephobia-badge]: https://img.shields.io/bundlephobia/minzip/next-safe?style=flat-square\n[code-of-conduct]: CODE_OF_CONDUCT.md\n[code-of-conduct-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square\n[codeclimate]: https://codeclimate.com/github/trezy/next-safe\n[codeclimate-badge]: https://img.shields.io/codeclimate/maintainability/trezy/next-safe.svg?style=flat-square\n[coveralls]: https://coveralls.io/github/trezy/next-safe\n[coveralls-badge]: https://img.shields.io/coveralls/trezy/next-safe.svg?style=flat-square\n[downloads-badge]: https://img.shields.io/npm/dm/next-safe.svg?style=flat-square\n[github-watch]: https://github.com/trezy/next-safe/watchers\n[github-watch-badge]: https://img.shields.io/github/watchers/trezy/next-safe.svg?style=social\n[github-star]: https://github.com/trezy/next-safe/stargazers\n[github-star-badge]: https://img.shields.io/github/stars/trezy/next-safe.svg?style=social\n[license]: LICENSE\n[license-badge]: https://img.shields.io/npm/l/next-safe.svg?style=flat-square\n[npmtrends]: https://www.npmtrends.com/next-safe\n[package]: https://npmjs.com/package/next-safe\n[prs]: CONTRIBUTING.md\n[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[release-status]: https://github.com/trezy/next-safe/actions/workflows/release.yml\n[release-status-badge]: https://img.shields.io/github/workflow/status/trezy/next-safe/Release?style=flat-square\u0026label=release\n[test-status]: https://github.com/trezy/next-safe/actions/workflows/test.yml\n[test-status-badge]: https://img.shields.io/github/workflow/status/trezy/next-safe/Test?style=flat-square\u0026label=tests\n[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20trezy/next-safe%20by%20%40PokebagApp%20https%3A%2F%2Fgithub.com%2FPokebag%2Fdata-sdk%20%F0%9F%91%8D\n[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/trezy/next-safe.svg?style=social\n[version-badge]: https://img.shields.io/npm/v/next-safe.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrezy%2Fnext-safe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrezy%2Fnext-safe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrezy%2Fnext-safe/lists"}