https://github.com/thib3113/node-crowdsec
client node to talk with crowdsec API
https://github.com/thib3113/node-crowdsec
crowdsec firewall nodejs security
Last synced: 6 months ago
JSON representation
client node to talk with crowdsec API
- Host: GitHub
- URL: https://github.com/thib3113/node-crowdsec
- Owner: thib3113
- License: mit
- Created: 2023-05-29T22:32:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T02:35:38.000Z (6 months ago)
- Last Synced: 2025-04-10T03:32:50.185Z (6 months ago)
- Topics: crowdsec, firewall, nodejs, security
- Language: TypeScript
- Homepage:
- Size: 7.71 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# node-crowdsec
[](https://github.com/thib3113/node-crowdsec/actions/workflows/CI.yml)
[](https://codecov.io/gh/thib3113/node-crowdsec)
[](https://snyk.io/test/github/thib3113/node-crowdsec)
[](https://paypal.me/thib3113)
[](https://github.com/thib3113/node-crowdsec/stargazers/)This repository will host multiples packages, you can found them with examples below
Technical documentation is available [here](https://thib3113.github.io/node-crowdsec/)
## Packages
### [crowdsec-client](./packages/crowdsec-client)
[](https://www.npmjs.com/package/crowdsec-client)
[](https://www.npmjs.com/package/crowdsec-client)
[](https://github.com/thib3113/node-crowdsec/blob/main/LICENSE)
[](https://sonarcloud.io/summary/new_code?id=thib3113_node-crowdsec)
[](https://packagequality.com/#?package=crowdsec-client)[//]: # ([](https://snyk.io/advisor/npm-package/crowdsec-client))
[](https://nodei.co/npm/crowdsec-client/)### [crowdsec-http-middleware](./packages/crowdsec-http-middleware)
[](https://www.npmjs.com/package/crowdsec-http-middleware)
[](https://www.npmjs.com/package/crowdsec-http-middleware)
[](https://github.com/thib3113/node-crowdsec/blob/main/LICENSE)
[](https://sonarcloud.io/summary/new_code?id=thib3113_node-crowdsec)
[](https://packagequality.com/#?package=crowdsec-http-middleware)[//]: # ([](https://snyk.io/advisor/npm-package/crowdsec-http-middleware))
[](https://nodei.co/npm/crowdsec-http-middleware/)an alpha http middleware that allow to include CrowdSec to protect your http serveur
### [crowdsec-client-scenarios](./packages/crowdsec-client-scenarios)
[](https://www.npmjs.com/package/crowdsec-client-scenarios)
[](https://www.npmjs.com/package/crowdsec-client-scenarios)
[](https://github.com/thib3113/node-crowdsec/blob/main/LICENSE)
[](https://sonarcloud.io/summary/new_code?id=thib3113_node-crowdsec)
[](https://packagequality.com/#?package=crowdsec-client-scenarios)[//]: # ([](https://snyk.io/advisor/npm-package/crowdsec-client-scenarios))
[](https://nodei.co/npm/crowdsec-client-scenarios/)Here are some optionals scenarios available to use with the middleware
## Examples
- [express-bouncer](./examples/express-bouncer) : an example of use of the [crowdsec-client](./packages/crowdsec-client) to create an express bouncer
- [express-bouncer-cjs](./examples/express-bouncer-cjs) : the same as [express-bouncer](./examples/express-bouncer), but wrote in (common) js only
- [express-web-parser](./examples/express-web-parser) : a watcher example that will ban user checking the user-agentThis library is a Node.js client to talk with crowdsec rest API .
## Thanks to
- [Crowdsec team](https://www.crowdsec.net/) for the crowdsec tool
- [University of Delaware](https://www.udel.edu/)