How to install NodeJS packages?

Hi,

How do I install NodeJS packages in WebIQ to use in the Code Manager?
I currently want to use it to be able to use the NodeJS fs package to access the client's file system to read the content of files, which is not possible with only JavaScript.
Thanks!

Best reply by Sgilk

Hi suitendaal ,

This is not possible as NodeJS is a server side tool and is actually a Javascript runtime in itself. The WebIQ runtime does not permit installation of NodeJS packages.

Generally, web clients prohibit access to the file system for security reasons. Imagine if you accessed a web page that started to read files off of your local PC.

If you could share a little more of what you are trying to accomplish, maybe I could help provide a solution.

View original
17 replies