Monday, 15 May 2017

How do you include a resource or template file with an npm package and then load them in node?

How do I make my npm package include a file called template.html, and then once the package has been globally installed, how will my node javascript app find the path to that file in order to load it from disk?



via Jordan Morris

No comments:

Post a Comment