# Feature: Get current project information (version, name, description) from env

**URL:** <https://discourse.nodered.org/t/feature-get-current-project-information-version-name-description-from-env/90451>\
**Category:** Feature Requests\
**Created:** [26 August 2024 15:51 UTC](https://discourse.nodered.org/t/feature-get-current-project-information-version-name-description-from-env/90451 "2024-08-26T15:51:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrcamilletti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrcamilletti/32/93912_2.png) [@mrcamilletti](https://discourse.nodered.org/u/mrcamilletti)\
**Post date:** [26 August 2024 15:51 UTC](https://discourse.nodered.org/t/feature-get-current-project-information-version-name-description-from-env/90451/1 "2024-08-26T15:51:40Z")

</div>

Hi, I'm currently using NodeRED with projects enabled. I would like to access the project version from package.json and display it in an http interface, but I couldn't find a direct way to retrieve this information. I think it would be helpful if NodeRED could provide this information as an environment variable.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [26 August 2024 16:27 UTC](https://discourse.nodered.org/t/feature-get-current-project-information-version-name-description-from-env/90451/2 "2024-08-26T16:27:00Z")

</div>

Welcome to the forums @mrcamilletti

This may not be a permanent or a clean solution in the interim, but you can just read the package file, of said project.

 ![Screenshot 2024-08-26 at 17.25.20](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/7/17bba31676e23051f483439704ebec901223baa4.png)

I did try looking at the API - but I don't think an endpoint exists to give you the info.

```auto
[{"id":"70e5eaa9180c9184","type":"file in","z":"2d7bf6e3.84c97a","name":"","filename":"/<Path-To-Project-Folder>/package.json","filenameType":"str","format":"utf8","chunk":false,"sendError":false,"encoding":"none","allProps":false,"x":300,"y":800,"wires":[["3937890f3bb4f3ec"]]},{"id":"33a6bb233167cde0","type":"inject","z":"2d7bf6e3.84c97a","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":160,"y":720,"wires":[["70e5eaa9180c9184"]]},{"id":"00931bec962843a9","type":"debug","z":"2d7bf6e3.84c97a","name":"debug 386","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":750,"y":800,"wires":[]},{"id":"3937890f3bb4f3ec","type":"json","z":"2d7bf6e3.84c97a","name":"","property":"payload","action":"","pretty":false,"x":570,"y":800,"wires":[["00931bec962843a9"]]}]

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 October 2024 16:27 UTC](https://discourse.nodered.org/t/feature-get-current-project-information-version-name-description-from-env/90451/3 "2024-10-25T16:27:47Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
