I\'m currently using child_process and command-line mplayer to play audio on the local machine, with my Node.JS application. This works, but it\'s not really an exc
mplayer
Check out sound-play, it's a simple solution that works on Windows and MacOS without using external players:
const sound = require('sound-play') sound.play('music.mp3')
Disclaimer: I'm the author of this package.