This is an example application that runs Hold This behind an HTTP server.
Caution
This is not a production ready example. Security, and failure modes must be considered, but are outside the scope of the example.
Note
This example depends on the package autocannon
to benchmark the server.
Requires Node 22.0.0
- import.meta.filename
-
Install dependency
npm install
-
Run Example
npm start
-
Run Benchmark
npm run test:bench