Monday, 7 May 2018

[Q] stream JS from server without writing to disk?

Hello /r/node,i currently have to hack together a JSON parser / converter as a little side project and ran into an interesting problem:The script will require some regular updating every couple weeks (when the JSON gets new contents that should be included into the final JSON) but, apart from the INstallation I CAN NOT WRITE FILES TO DISK. This decisions is from the Sysadmin and I cant really do jack shit about it. So my question is, can I use fs with URL or whatever other npm module to stream an .js file from the server into the runtime enviroment without it being written to disk at any point? If so, does it work with https?Thanks in advance!

Submitted May 07, 2018 at 09:38AM by GER_PalOne

No comments:

Post a Comment