|
1 | | -# egg-security |
2 | | - |
3 | | -Security plugin in egg |
| 1 | +# @eggjs/security |
4 | 2 |
|
5 | 3 | [![NPM version][npm-image]][npm-url] |
6 | 4 | [](https://github.com/eggjs/security/actions/workflows/nodejs.yml) |
7 | 5 | [![Test coverage][codecov-image]][codecov-url] |
8 | 6 | [![Known Vulnerabilities][snyk-image]][snyk-url] |
9 | 7 | [![npm download][download-image]][download-url] |
| 8 | +[](https://nodejs.org/en/download/) |
| 9 | +[](https://makeapullrequest.com) |
| 10 | + |
10 | 11 |
|
11 | | -[npm-image]: https://img.shields.io/npm/v/egg-security.svg?style=flat-square |
12 | | -[npm-url]: https://npmjs.org/package/egg-security |
| 12 | +[npm-image]: https://img.shields.io/npm/v/@eggjs/security.svg?style=flat-square |
| 13 | +[npm-url]: https://npmjs.org/package/@eggjs/security |
13 | 14 | [codecov-image]: https://codecov.io/gh/eggjs/security/branch/master/graph/badge.svg |
14 | 15 | [codecov-url]: https://codecov.io/gh/eggjs/security |
15 | | -[snyk-image]: https://snyk.io/test/npm/egg-security/badge.svg?style=flat-square |
16 | | -[snyk-url]: https://snyk.io/test/npm/egg-security |
17 | | -[download-image]: https://img.shields.io/npm/dm/egg-security.svg?style=flat-square |
18 | | -[download-url]: https://npmjs.org/package/egg-security |
| 16 | +[snyk-image]: https://snyk.io/test/npm/@eggjs/security/badge.svg?style=flat-square |
| 17 | +[snyk-url]: https://snyk.io/test/npm/@eggjs/security |
| 18 | +[download-image]: https://img.shields.io/npm/dm/@eggjs/security.svg?style=flat-square |
| 19 | +[download-url]: https://npmjs.org/package/@eggjs/security |
19 | 20 |
|
20 | 21 | Egg's default security plugin, generally no need to configure. |
21 | 22 |
|
22 | 23 | ## Install |
23 | 24 |
|
24 | 25 | ```bash |
25 | | -npm i egg-security |
| 26 | +npm i @eggjs/security |
26 | 27 | ``` |
27 | 28 |
|
28 | 29 | ## Usage & configuration |
|
0 commit comments