sc4node is a library for node.js which enables to execute and comunicate with SuperCollider programming language (sclang).
npm install sc4node
var sc = require('sc4node');
// invoke 'sclang' and attach stdout handler.
var sclang = sc.start('/Applications/SuperCollider/SuperCollider.app/Contents/Resources/', function (data) {
console.log('sclang stdout: ' + data);
});
You may find more usage in ./example/app.js
sc4node is released under the GNU General Public License (GPL) version 3, see the file 'COPYING' for more information.