UNPKG

3.15 kBMarkdownView Raw
1<div align="center">
2 <h1>Middy http-security-headers middleware</h1>
3 <img alt="Middy logo" src="https://raw.githubusercontent.com/middyjs/middy/main/docs/img/middy-logo.svg"/>
4 <p><strong>HTTP security headers middleware for the middy framework, the stylish Node.js middleware engine for AWS Lambda</strong></p>
5 <p>Applies best practice security headers to responses. It's a simplified port of [HelmetJS](https://helmetjs.github.io/). See HelmetJS documentation for more details.</p>
6<p>
7 <a href="https://www.npmjs.com/package/@middy/http-security-headers?activeTab=versions">
8 <img src="https://badge.fury.io/js/%40middy%2Fhttp-security-headers.svg" alt="npm version" style="max-width:100%;">
9 </a>
10 <a href="https://packagephobia.com/result?p=@middy/http-security-headers">
11 <img src="https://packagephobia.com/badge?p=@middy/http-security-headers" alt="npm install size" style="max-width:100%;">
12 </a>
13 <a href="https://github.com/middyjs/middy/actions/workflows/tests.yml">
14 <img src="https://github.com/middyjs/middy/actions/workflows/tests.yml/badge.svg?branch=main&event=push" alt="GitHub Actions CI status badge" style="max-width:100%;">
15 </a>
16 <br/>
17 <a href="https://standardjs.com/">
18 <img src="https://img.shields.io/badge/code_style-standard-brightgreen.svg" alt="Standard Code Style" style="max-width:100%;">
19 </a>
20 <a href="https://snyk.io/test/github/middyjs/middy">
21 <img src="https://snyk.io/test/github/middyjs/middy/badge.svg" alt="Known Vulnerabilities" data-canonical-src="https://snyk.io/test/github/middyjs/middy" style="max-width:100%;">
22 </a>
23 <a href="https://github.com/middyjs/middy/actions/workflows/sast.yml">
24 <img src="https://github.com/middyjs/middy/actions/workflows/sast.yml/badge.svg
25?branch=main&event=push" alt="CodeQL" style="max-width:100%;">
26 </a>
27 <a href="https://bestpractices.coreinfrastructure.org/projects/5280">
28 <img src="https://bestpractices.coreinfrastructure.org/projects/5280/badge" alt="Core Infrastructure Initiative (CII) Best Practices" style="max-width:100%;">
29 </a>
30 <br/>
31 <a href="https://gitter.im/middyjs/Lobby">
32 <img src="https://badges.gitter.im/gitterHQ/gitter.svg" alt="Chat on Gitter" style="max-width:100%;">
33 </a>
34 <a href="https://stackoverflow.com/questions/tagged/middy?sort=Newest&uqlId=35052">
35 <img src="https://img.shields.io/badge/StackOverflow-[middy]-yellow" alt="Ask questions on StackOverflow" style="max-width:100%;">
36 </a>
37</p>
38<p>You can read the documentation at: <a href="https://middy.js.org/docs/middlewares//http-security-headers">https://middy.js.org/docs/middlewares//http-security-headers</a></p>
39</div>
40
41## License
42
43Licensed under [MIT License](LICENSE). Copyright (c) 2017-2023 [Luciano Mammino](https://github.com/lmammino), [will Farrell](https://github.com/willfarrell), and the [Middy team](https://github.com/middyjs/middy/graphs/contributors).
44
45<a href="https://app.fossa.io/projects/git%2Bgithub.com%2Fmiddyjs%2Fmiddy?ref=badge_large">
46 <img src="https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmiddyjs%2Fmiddy.svg?type=large" alt="FOSSA Status" style="max-width:100%;">
47</a>