Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trezy/next-safe


https://github.com/trezy/next-safe

hacktoberfest nextjs security

Last synced: about 5 hours ago
JSON representation

Awesome Lists containing this project

README

        


next-safe


[![Version][version-badge]][package]
[![Bundle size][bundlephobia-badge]][bundlephobia]
[![Downloads][downloads-badge]][npmtrends]
[![BSD-3-Clause License][license-badge]][license]

[![Release status][release-status-badge]][release-status]
[![Test status][test-status-badge]][test-status]
[![Code Coverage][coveralls-badge]][coveralls]
[![Maintainability][codeclimate-badge]][codeclimate]

[![PRs Welcome][prs-badge]][prs]
[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-)
[![Code of Conduct][code-of-conduct-badge]][code-of-conduct]

[![Watch on GitHub][github-watch-badge]][github-watch]
[![Star on GitHub][github-star-badge]][github-star]
[![Tweet][twitter-badge]][twitter]

`next-safe` helps secure your Next.js apps by providing sensible defaults for the most common security headers, including:

* [`Content-Security-Policy`](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP)
* [`Permissions-Policy`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy) (formerly known as `Feature-Policy`)
* [`Referrer-Policy`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy)
* [`X-Content-Type-Options`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options)
* [`X-Frame-Options`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options)
* [`X-XSS-Protection`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection)

Check out the full documentation at [https://trezy.gitbook.io/next-safe](https://trezy.gitbook.io/next-safe).

## Contributors โœจ

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Trezy

๐Ÿ› ๐Ÿ’ป ๐Ÿ’ก ๐Ÿค” ๐Ÿš‡ ๐Ÿšง ๐Ÿ‘€ โš ๏ธ

Cameron Welter

๐Ÿ› ๐Ÿ’ป ๐Ÿค” ๐Ÿšง โš ๏ธ

Omar Lรณpez

๐Ÿ“–

Anton Frattaroli

๐Ÿ›

april-ctrlspire

๐Ÿค”

Joรฃo Lucas Evangelista C. de Amorim

๐Ÿ› ๐Ÿ’ป

anvelicon

๐Ÿ’ป ๐Ÿ“– ๐Ÿค”

This 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!

[bundlephobia]: https://bundlephobia.com/package/next-safe
[bundlephobia-badge]: https://img.shields.io/bundlephobia/minzip/next-safe?style=flat-square
[code-of-conduct]: CODE_OF_CONDUCT.md
[code-of-conduct-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
[codeclimate]: https://codeclimate.com/github/trezy/next-safe
[codeclimate-badge]: https://img.shields.io/codeclimate/maintainability/trezy/next-safe.svg?style=flat-square
[coveralls]: https://coveralls.io/github/trezy/next-safe
[coveralls-badge]: https://img.shields.io/coveralls/trezy/next-safe.svg?style=flat-square
[downloads-badge]: https://img.shields.io/npm/dm/next-safe.svg?style=flat-square
[github-watch]: https://github.com/trezy/next-safe/watchers
[github-watch-badge]: https://img.shields.io/github/watchers/trezy/next-safe.svg?style=social
[github-star]: https://github.com/trezy/next-safe/stargazers
[github-star-badge]: https://img.shields.io/github/stars/trezy/next-safe.svg?style=social
[license]: LICENSE
[license-badge]: https://img.shields.io/npm/l/next-safe.svg?style=flat-square
[npmtrends]: https://www.npmtrends.com/next-safe
[package]: https://npmjs.com/package/next-safe
[prs]: CONTRIBUTING.md
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
[release-status]: https://github.com/trezy/next-safe/actions/workflows/release.yml
[release-status-badge]: https://img.shields.io/github/workflow/status/trezy/next-safe/Release?style=flat-square&label=release
[test-status]: https://github.com/trezy/next-safe/actions/workflows/test.yml
[test-status-badge]: https://img.shields.io/github/workflow/status/trezy/next-safe/Test?style=flat-square&label=tests
[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
[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/trezy/next-safe.svg?style=social
[version-badge]: https://img.shields.io/npm/v/next-safe.svg?style=flat-square