![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
http-status-checker
Advanced tools
HTTP status checker used in conjunction with AWS ELB to overcome 1 endpoint check limit
hsc (http-status-checker) is a command line utility used to perform multiple HTTP status checks on remote endpoints. It is a perfect fit if you need to host multiple HTTP server on the same EC2 instance behind an Elastic Load Balancer which unfortunately allow status checks on a single HTTP interface.
hsc supports accepts options passed as environment variables or as command line arguments. The short list of options is:
Install hsc globally with npm i -g http-status-checker
hsc to actually check the status of the endpoints monitored you can perform a GET request to http://your_ip:HSC_PORT/
, if everything looks good hsc will simply answer with HTTP 200 "OK"
, otherwise with an HTTP 500
containiung in the body a JSON object indicating which endpoint failed the check and which one looks good, eg:
{
http://google.com: "OK",
http://www.yahoo.com: "OK",
http://foobarservice.com: "getaddrinfo ENOTFOUND foobarservice.com foobarservice.com:80"
}
Usage example:
hsc -p 9091 -e http://google.com,http://yahoo.com
Logs are printed in JSON suing bunyan, if you want you can pipe them through the bunyan command line tool to read them better.
FAQs
HTTP status checker used in conjunction with AWS ELB to overcome 1 endpoint check limit
The npm package http-status-checker receives a total of 0 weekly downloads. As such, http-status-checker popularity was classified as not popular.
We found that http-status-checker demonstrated a not healthy version release cadence and project activity because the last version was released 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.