davideicardi / live-plugin-manager

Plugin manager and installer for Node.JS
MIT License
233 stars 44 forks source link

Support loading plugins without FS access #52

Open strogonoff opened 3 years ago

strogonoff commented 3 years ago

Use case: install plugins in Electron’s window without nodeIntegration, and hence without filesystem access.

This use case could be addressed by allowing to install in-memory.

Which, in turn, could be supported by allowing to pass a custom conforming fs implementation to PluginManager (there’re API-compatible implementations of FS like LightningFS, for example).

I know this might be out of scope of this project, but thought I’d file this just in case.

davideicardi commented 3 years ago

Yes, good idea. It should be not too difficult to implement. As usual any help is appreciated ;-)