
Security News
Google’s OSV Fix Just Added 500+ New Advisories — All Thanks to One Small Policy Change
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
@gquittet/graceful-server
Advanced tools
Tiny (~5k), dependency-free Node.JS library to make your API more graceful
Tiny (~5k), KISS, dependency-free Node.js library to make your Rest API graceful.
✔ It's listening to system events to gracefully close your API on interruption.
✔ It facilitates the disconnect of data sources on shutdown.
✔ It facilitates the use of liveness and readiness.
✔ It manages the connections of your API.
✔ It avoids boilerplate codes.
✔ Kubernetes compliant.
✔ Dependency-free.
✔ KISS code base.
✔ NodeJS >= 18.0
npm install --save @gquittet/graceful-server
pnpm add @gquittet/graceful-server
yarn add @gquittet/graceful-server
Below, you can find the default endpoint, but you can set up or disable them. To do that, check out the Options part.
/live
The endpoint responds:
200
status code with the uptime of the server in second.{ "uptime": 42 }
Used to configure liveness probe.
/ready
The endpoint responds:
200
status code if the server is ready.{ "status": "ready" }
503
status code with an empty response if the server is not ready (started, shutting down, etc.).See: EXAMPLE.md
See: API.md
See: DOCKER.md
See: KUBERNETES.md
★ Terminus
★ Bret Fisher for his great articles and videos
If you like my job, don't hesitate to contribute to this project! ❤️
FAQs
Tiny (~5k), dependency-free Node.JS library to make your API more graceful
We found that @gquittet/graceful-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
Research
/Security News
175 malicious npm packages (26k+ downloads) used unpkg CDN to host redirect scripts for a credential-phishing campaign targeting 135+ organizations worldwide.
Security News
Python 3.14 adds template strings, deferred annotations, and subinterpreters, plus free-threaded mode, an experimental JIT, and Sigstore verification.