0

I have a library using NodeJs where I need to generate a folder with HTML files as the concept of generating coverage folder in JEST library on the root of the project,

My question is how can I get The src path of the project from my library located in node_module of that project?

I'm open to any other solution for my problem

DevHomie
  • 5
  • 3
  • This might help https://stackoverflow.com/questions/10265798/determine-project-root-from-a-running-node-js-application – spiritwalker Oct 28 '21 at 09:28

0 Answers0