# npm package support would be great

**URL:** <https://forums.fusetools.com/t/npm-package-support-would-be-great/5870>\
**Category:** Feature Suggestions\
**Created:** [January 21, 2016, 10:26am UTC](https://forums.fusetools.com/t/npm-package-support-would-be-great/5870 "2016-01-21T10:26:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ud1](https://avatars.discourse-cdn.com/v4/letter/u/f07891/32.png) [@ud1](https://forums.fusetools.com/u/ud1)\
**Post date:** [January 21, 2016, 10:26am UTC](https://forums.fusetools.com/t/npm-package-support-would-be-great/5870/1 "2016-01-21T10:26:26Z")

</div>

Would be great to npm package support.

E.g.

npm install parse --safe

I am pretty new to fuse. So I have no idea if this is possible.

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [January 21, 2016, 11:19am UTC](https://forums.fusetools.com/t/npm-package-support-would-be-great/5870/2 "2016-01-21T11:19:55Z")

</div>

I have started on supporting npm in fuse: [https://github.com/bolav/fuse-npm](https://github.com/bolav/fuse-npm)

It’s just an idea for now, and not working at all with anything. But I have made it working with for instance [socket.io](http://socket.io) with just some small modifications.

---

<div class="post-metadata">

**Author:** ![Jack\_Senechal](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/jack_senechal/32/280_2.png) [@Jack\_Senechal](https://forums.fusetools.com/u/Jack_Senechal)\
**Post date:** [April 6, 2016, 3:17am UTC](https://forums.fusetools.com/t/npm-package-support-would-be-great/5870/3 "2016-04-06T03:17:51Z")

</div>

This is a great idea, I’d love to mess around with it. I got the loadmodules.js script to run but am uncertain how to incorporate the results into my app. Here’s what I’ve done:

- Cloned fuse-npm into my app dir
- Inside app/fuse-npm/ I ran `node loadmodules.js package`

This generates lots of files inside app/fuse-npm/fusejs\_lib/

I tried including a resulting file (eg. blah\_app\_node\_modules\_package\_lib\_something.js) in a UX file using a `<JavaScript>` tag. I also tried just requiring the package. No love though. Just shooting in the dark 🙂

Obviously I’m a bit new around here so further examples or direction would be much appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![Anders\_Bondehagen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_bondehagen/32/98_2.png) [@Anders\_Bondehagen](https://forums.fusetools.com/u/Anders_Bondehagen)\
**Post date:** [April 15, 2016, 2:28pm UTC](https://forums.fusetools.com/t/npm-package-support-would-be-great/5870/4 "2016-04-15T14:28:57Z")

</div>

We have just worked out a way for `npm` to be able to depend on Uno packages without changing the UX code. We still have some work left, but you can expect this very soon.

---

<div class="post-metadata">

**Author:** ![Jesper\_Staerkaer](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@Jesper\_Staerkaer](https://forums.fusetools.com/u/Jesper_Staerkaer)\
**Post date:** [July 13, 2016, 9:27pm UTC](https://forums.fusetools.com/t/npm-package-support-would-be-great/5870/5 "2016-07-13T21:27:55Z")

</div>

Native NPM support would be perfect.

---

<div class="post-metadata">

**Author:** ![Jesper\_Staerkaer](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@Jesper\_Staerkaer](https://forums.fusetools.com/u/Jesper_Staerkaer)\
**Post date:** [September 21, 2016, 7:43am UTC](https://forums.fusetools.com/t/npm-package-support-would-be-great/5870/6 "2016-09-21T07:43:41Z")

</div>

Any news on npm support?

---

<div class="post-metadata">

**Author:** ![Anders\_Bondehagen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_bondehagen/32/98_2.png) [@Anders\_Bondehagen](https://forums.fusetools.com/u/Anders_Bondehagen)\
**Post date:** [October 25, 2016, 11:33am UTC](https://forums.fusetools.com/t/npm-package-support-would-be-great/5870/7 "2016-10-25T11:33:56Z")

</div>

Jesper: take a look here [https://github.com/Sunjammer/nfuse](https://github.com/Sunjammer/nfuse)
