executeNodeSetParser.js 202 B

123456789
  1. /*
  2. sources:
  3. https://stackoverflow.com/questions/1880198/how-to-execute-shell-command-in-javascript, 02/03/2022
  4. */
  5. var fs = require('fs');
  6. var files = fs.readdirSync('js');
  7. console.log('OK: ' + files);