I'm building something that needs to call yarn
from within a node program itself, is this possible? I've not found anything reasonable online besides calling yarn install
by using child_process
and calling the shell command.
While I know this will work, I'd rather have a way to call the Yarn API directly from within my node application, how can I do something like this?