Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
friendly-http-status
Advanced tools
Readme
Translates http status code to minimal friendly object containing description and emoji 😃
npm i friendly-http-status
import { getFriendlyError } from "friendly-http-status";
console.log(getFriendlyError(404));
getFriendlyError
always returns json object with following property even if code unknown it will return unknown error object
{
"emoji": "❓",
"message": "Not Found",
"description": "The requested page could not be found but may be available again in the future."
}
FAQs
Translates http status code to friendly object containing description and emoji
The npm package friendly-http-status receives a total of 1 weekly downloads. As such, friendly-http-status popularity was classified as not popular.
We found that friendly-http-status 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
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.