r/node•
Hadestructhor

You can now easily get your running app's info with my library !

I posted a few days ago about a rewrite of some of the functionalities I miss from Spring Boot's Actuator endpoints.

Today I'm updating my library to add a similar functionality to `/actuator/info`.

Since I love making my docker images as small as possible, I created a script that can be run and that generates the static informations as a json file.

The static informations being git(branch, commit id, timestamp) and build(name and version in package.json) ones.

On top of those, I get some dynamic values such as process (id and memory) as well as the operating system the app is running on.

I also updated my example project on github using an express application:
https://github.com/actuatorjs/express-example

I have not yet updated the docs on npm, but I plan to create a static docs site on github pages and link it in npm.

For now, you can refer to the example project.

The goal is to have a 0 dependencies library, that is small and contains framework independant code, as terminus is very linked to node's http module and can't be used with bun for example, or deno.

What do you think ? Useful or useless ?

Posted Jul 9, 2025, 11:26 PM UTC

10
Loading comments…