
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.
Human-friendly message library for server and client side interaction responses
Human-friendly message library for server and client side interaction responses.
Includes the delightful http-status
Run npm install xenoglossy --save
Once required you may call it with either an HTTP code to use those provided by http-status or a message name using simple javascript object notation.
This means you can insert your code into API responses, template variables for engines such as EJS, Handlebars, Swig, etc. Use it anywhere you need a well formed, human-friendly message or suitable response.
These are just a few examples to get going, it is recommended to simply read the source JSON to see what is available.
Using HTTP codes:
var xenoglossy = require('xenoglossy');
// Print "Internal Server Error"
console.log(xenoglossy.http[500]);
// Print 500
console.log(xenoglossy.http.INTERNAL_SERVER_ERROR);
FAQs
Human-friendly message library for server and client side interaction responses
The npm package xenoglossy receives a total of 2 weekly downloads. As such, xenoglossy popularity was classified as not popular.
We found that xenoglossy 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.