Use case, you've gotten a stream definition file that includes a bunch of finch operators. But you don't have a local node modules directory with files. It would be annoying to figure out what needs to be installed manually.
We can create a new finch {something} stream.json which resolves definitions in stream.json and its dependencies. We can then use node to try to resolve each use. If it's missing we can help the user.
At a minimum generating an npm install @finch/1 @finch/2 string would work.
Installing all the modules for the user would be really nice, when it worked. Let's start by generating that list and iterate into improvements.
Use case, you've gotten a stream definition file that includes a bunch of finch operators. But you don't have a local node modules directory with files. It would be annoying to figure out what needs to be installed manually.
We can create a new
finch {something} stream.jsonwhich resolves definitions in stream.json and its dependencies. We can then use node to try to resolve eachuse. If it's missing we can help the user.At a minimum generating an
npm install @finch/1 @finch/2string would work.Installing all the modules for the user would be really nice, when it worked. Let's start by generating that list and iterate into improvements.