# Can a node run in-browser or must it run on nodejs?

**URL:** https://discourse.nodered.org/t/can-a-node-run-in-browser-or-must-it-run-on-nodejs/42687
**Category:** General
**Created:** [16 March 2021 01:50 UTC](https://discourse.nodered.org/t/can-a-node-run-in-browser-or-must-it-run-on-nodejs/42687 "2021-03-16T01:50:54Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [16 March 2021 09:45 UTC](https://discourse.nodered.org/t/can-a-node-run-in-browser-or-must-it-run-on-nodejs/42687/4 "2021-03-16T09:45:23Z")

</div>

What @zenofmud said is 100% true however that doesn't mean you cant provide some means of sending a payload to a browser, perform some computation then return the result to node-red.

nodejs and the browser do run in the same runtime but the functionality nodejs provides is NOT available in the browser. Do a search for "run node js in browser"

For example, [this](https://discourse.nodered.org/t/http-endpoint-for-image-payloads/42598/4) solution I provided another user creates a web page where an image is processed client side and passed back to node-red.

The bottom line is, the core of node-red runs in nodejs on top of the v8 engine.

---

_[View the full topic](https://discourse.nodered.org/t/can-a-node-run-in-browser-or-must-it-run-on-nodejs/42687)._
