# How can I use js files generated with itk-js?

**URL:** https://discourse.vtk.org/t/how-can-i-use-js-files-generated-with-itk-js/2768
**Category:** Web
**Created:** [March 6, 2020, 11:57am UTC](https://discourse.vtk.org/t/how-can-i-use-js-files-generated-with-itk-js/2768 "2020-03-06T11:57:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![claretb](https://discourse.vtk.org/user_avatar/discourse.vtk.org/claretb/32/1466_2.png) [@claretb](https://discourse.vtk.org/u/claretb)
#### Post date: [March 6, 2020, 11:57am UTC](https://discourse.vtk.org/t/how-can-i-use-js-files-generated-with-itk-js/2768/1 "2020-03-06T11:57:48Z")

</div>

Hi everyone, especially to you @thewtex 🙂

I followed your instructions in this post : [Porting C++ app to VTK.js](https://discourse.vtk.org/t/porting-c-app-to-vtk-js/2303/10) and these helped me a lot. But I have no idea about how can I use builded .js or …wasm.js files. For example, [this](https://thewtex.github.io/VTKWebAssemblyExperiment/) page. I examined this page’s [github repository](https://github.com/thewtex/VTKWebAssemblyExperiment) but I can’t understand.

Can you help me?

---

<div class="post-metadata">

### Author: ![Forrest](https://discourse.vtk.org/user_avatar/discourse.vtk.org/forrest/32/300_2.png) [@Forrest](https://discourse.vtk.org/u/Forrest)
#### Post date: [March 6, 2020, 4:28pm UTC](https://discourse.vtk.org/t/how-can-i-use-js-files-generated-with-itk-js/2768/2 "2020-03-06T16:28:10Z")

</div>

Hi! If you’re using itk-js, have you looked at [Hello World Node](https://insightsoftwareconsortium.github.io/itk-js/examples/hello_world_node.html)? It shows how to run your cross-compiled C++ in the node.js environment. In order to run it in the web browser, you can refer to the itk.js API docs, specifically `runPipelineBrowser`.

---

<div class="post-metadata">

### Author: ![claretb](https://discourse.vtk.org/user_avatar/discourse.vtk.org/claretb/32/1466_2.png) [@claretb](https://discourse.vtk.org/u/claretb)
#### Post date: [March 9, 2020, 7:31am UTC](https://discourse.vtk.org/t/how-can-i-use-js-files-generated-with-itk-js/2768/4 "2020-03-09T07:31:40Z")

</div>

Thank you. I have looked this example already but I looked again after you said. And I understood much of it. I missed some parts.
