I’m writing a couple of node shell scripts for use when developing on a platform. We have both Mac and Windows developers. Is there a variable I can check for in Node to run a .sh file in one instance and .bat in another?

10 Answers
10

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *