Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
hyper-express
Advanced tools
High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.
uWebSockets.js
HyperExpress aims to be a simple yet performant HTTP & Websocket Server. Combined with the power of uWebsockets.js, a Node.js binding of uSockets written in C++, HyperExpress allows developers to unlock higher throughput for their web applications with their existing hardware. This can allow many web applications to become much more performant on optimized data serving endpoints without having to scale hardware.
Some of the prominent highlights are:
See > [Benchmarks]
for performance metrics against other webservers in real world deployments.
HyperExpress supports the latest three LTS (Long-term Support) Node.js versions only and can be installed using Node Package Manager (npm
).
npm i hyper-express
> [Examples & Snippets]
for small and easy-to-use snippets with HyperExpress.> [Server]
for creating a webserver and working with the Server component.> [Router]
for working with the modular Router component.> [Request]
for working with the Request component made available through handlers.> [Response]
for working with the Response component made available through handlers.> [Websocket]
for working with Websockets in HyperExpress.> [Middlewares]
for working with global and route-specific Middlewares in HyperExpress.> [SSEventStream]
for working with Server-Sent Events based streaming in HyperExpress.> [MultipartField]
for working with multipart requests and File Uploading in HyperExpress.> [SessionEngine]
for working with cookie based web Sessions in HyperExpress.> [LiveDirectory]
for implementing static file/asset serving functionality into HyperExpress.> [HostManager]
for supporting requests over muliple hostnames in HyperExpress.Express
but not 100% therefore you may encounter some middlewares not working out of the box. In this scenario, you must either write your own polyfill or omit the middleware to continue.KEEP_UWS_HEADER
to a truthy value such as 1
or true
.> [Issue]
with details about what led up to the problem including error traces, route information etc etc.To run HyperExpress functionality tests locally on your machine, you must follow the steps below.
npm install
in the root directory.npm install
in the /tests
directory.npm test
to run all tests with your local changes.FAQs
High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.
The npm package hyper-express receives a total of 20,269 weekly downloads. As such, hyper-express popularity was classified as popular.
We found that hyper-express demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.