Stop installing 6 security packages for every Node API

작성자

카테고리:

← 피드로
DEV Community · Selim G. · 2026-09-12 개발(SW)

Selim G.

Selim G.

Posted on Sep 11

#node #npm #javascript #typescript

Every Express or Fastify app needs helmet, cors, rate-limit, XSS sanitization, logging, sometimes an IP blacklist.

I wrapped that into one package:

npm i backend-guard

Works on Express, Fastify, and NestJS with the same options object.

Repo: https://github.com/hopesf/backend-guard

Top comments (0)

Subscribe

pic

Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Code of ConductReport abuse

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment’s permalink.

Hide child comments as well

For further actions, you may consider blocking this person and/or reporting abuse

원문에서 계속 ↗