'A system to find and load plugins from node_modules [closed]
I am trying to create a plugin system with the following workflow:
- Publish my plugins to npm.
- In another repo, install one or more of these plugins using npm install. They get installed intonode_modules.
- In a node app, find the plugins installed in the node_modulesfolder and load them dynamically.
- How do I go about doing this?
- Are there any frameworks that provide this functionality off-the-shelf?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source | 
|---|
