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
Templates let you quickly answer FAQs or store snippets for re-use.
Code of Conduct • Report 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