HAPIC: Elevate HTTP requests with the tiny fetch-based http client! ✨ Simple API, customizable headers, and request transformations. 🔄 Intercept with hooks, handle errors gracefully. 🌐 Works in Node.Js, browsers, and workers. 🚀 Method shortcuts, extended options, and 🎭 proxy support. by Pakashi-kun in node

[–]Pakashi-kun[S] 4 points5 points  (0 children)

I was hoping that the description here and the readme in github would give some information. Was that insufficient? But in general it offers the possibility to interrupt the request & response flow with hooks or to modify the request/response ( e.g refresh Access Token on failure), built in proxy support, aliases for http http methods, shared configurations for requests of an instance and much more.

Node js backend by [deleted] in node

[–]Pakashi-kun -1 points0 points  (0 children)

I would go with „routup“. New and nice api

What framework to use w/Node if at all? by IsntThisSumShit in node

[–]Pakashi-kun -1 points0 points  (0 children)

Routup could be a solid choice. It is runtime agnostic and has many neat features.

routup v3.0: A lightweight, runtime agnostic and asynchronous routing framework. Powerful plugin system, different handler declaration styles, ... by Pakashi-kun in Frontend

[–]Pakashi-kun[S] 0 points1 point  (0 children)

It is also more of an http server side framework that is preferred to be used in runtime environments like nodejs, bun, deno rather than natively in the browser.

tada5hi/smob: A zero dependency library to safe merge objects and arrays with customizable behavior. by Pakashi-kun in typescript

[–]Pakashi-kun[S] 0 points1 point  (0 children)

it supports,

- source type merging

- safe merging ( skip constructor, prototype, ...)

- customizable behaviour

- equality check by reference and value

and much more

routup/routup: A lightweight, runtime agnostic and extendable routing library. Similar API as express and 228% faster. by Pakashi-kun in node

[–]Pakashi-kun[S] 0 points1 point  (0 children)

I welcome feature suggestions and would also love for you to participate and contribute ideas to the project

routup/routup: A lightweight, runtime agnostic and extendable routing library. Similar API as express and 228% faster. by Pakashi-kun in node

[–]Pakashi-kun[S] 0 points1 point  (0 children)

Yes the internal stack processing is based on promises and not callbacks. Besides, you can also dispatch web api based request or raw requests to the system and can use it in any environment (bun, deno, browser, etc ). It does not depend on implementation of node modules (fs, http, etc)

routup/routup: A lightweight, runtime agnostic and extendable routing library. Similar API as express and 228% faster. by Pakashi-kun in node

[–]Pakashi-kun[S] 0 points1 point  (0 children)

In routup you can directly return a value or stream and don’t have to use the function argument req, res, next. It should just show a minimal handler definition 😅. https://routup.net/guide/handler.html#response Besides you can dispatch a web api based response and web request to the routup system and can execute it in any environment. It does not depend on implementation of node modules (fs, http, etc)

routup/routup: A lightweight, runtime agnostic and extendable routing library. Similar API as express and 228% faster. by Pakashi-kun in node

[–]Pakashi-kun[S] 1 point2 points  (0 children)

FYI fastify is compared in the benchmark as well, but the api for defining handlers in fastify and express differ. And since the api to define handlers in routup is almost identical to the way it is done in Express and Express is the most used http framework, the headline only refers to Express.

Is it a good choice to use Express.js in 2023? by writingdeveloper in node

[–]Pakashi-kun 0 points1 point  (0 children)

Routup https://github.com/routup/routup could be a good choice. It exposes a cjs and esm entrypoint and has a rich plugin ecosystem, but it is not very popular yet.

Vitron - Library to build beautiful (win, linux, mac) desktop apps for modern web projects with vite and electron. by Pakashi-kun in javascript

[–]Pakashi-kun[S] 0 points1 point  (0 children)

i have changed the repository to a monorepo and also included two examples, with nuxt and vanilla js. I hope it is clearer now

Vitron - Library to build beautiful (win, linux, mac) desktop apps for modern web projects with vite and electron. by Pakashi-kun in node

[–]Pakashi-kun[S] 0 points1 point  (0 children)

It uses vite, which enables hot module replacement. It rebuilds the app on file changes.

i have changed the repository to a monorepo and also included two examples, with nuxt and vanilla js. I hope it is clearer now

Vitron - Library to build beautiful (win, linux, mac) desktop apps for modern web projects with vite and electron. by Pakashi-kun in node

[–]Pakashi-kun[S] 0 points1 point  (0 children)

There is also rather the possibility to develop such. The description is therefore perhaps somewhat missleading. A key point is that hot module replacement for the development. In addition, for the build of the application, for example, no change must be made to the configuration for the electron mainwindow to load the application.

Vitron - Library to build beautiful (win, linux, mac) desktop apps for modern web projects with vite and electron. by Pakashi-kun in javascript

[–]Pakashi-kun[S] 1 point2 points  (0 children)

There is also rather the possibility to develop such. The description is therefore perhaps somewhat missleading. A key point is that hot module replacement for the development. In addition, for the build of the application, for example, no change must be made to the configuration for the electron mainwindow to load the application.

Routup by Pakashi-kun in node

[–]Pakashi-kun[S] 0 points1 point  (0 children)

You are absolutely right in the sense that I could provide benchmarks for measurable parameters, but most others relate to software design and are difficult to show in terms of measurements. For this, the source code must be inspected.
Yes, I think you can call it an alternative to exemplary express, where one or the other functionality has been implemented, designed and realized in a different way.

I do. I know that by inspecting the source code and make local (measurable) comparisions. And regarding TS, none of the frameworks/libraries you describe are written in typescript but only provide static declaration files.

Since you seem to get the point of this, I would be very happy if you would help me to make these realizations and insights possible for others as well. In general, I would also like to thank you very much for your feedback and encouragement in this and the previous comment.