# How to use an npm module within a function node?

**URL:** <https://discourse.nodered.org/t/how-to-use-an-npm-module-within-a-function-node/20917>\
**Category:** General\
**Created:** [27 January 2020 17:47 UTC](https://discourse.nodered.org/t/how-to-use-an-npm-module-within-a-function-node/20917 "2020-01-27T17:47:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Nxito](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nxito/32/88293_2.png) [@Nxito](https://discourse.nodered.org/u/Nxito)\
**Post date:** [27 January 2020 18:00 UTC](https://discourse.nodered.org/t/how-to-use-an-npm-module-within-a-function-node/20917/2 "2020-01-27T18:00:25Z")

</div>

[Look at this](https://discourse.nodered.org/t/how-to-use-other-js-files/18999/3)

---

_[View the full topic](https://discourse.nodered.org/t/how-to-use-an-npm-module-within-a-function-node/20917)._
