Use ES6 template tags for your node.js shell commands.
npm install tag-shellUse ES6 template tags for your node.js shell commands.
Using backticks is important and the package won't work otherwise.
``javascript
const sh = require('tag-shell');
const opts = {app: 'App', icon: 'icon.png'};
// Async.
sh.asyncnotify-send -a ${opts.app}
-i ${opts.icon};
// Streaming.
sh.spawnnode -v.stdout.on('data', data => console.log(data.toString()))
// Sync.
const version = shnode -v;``
MIT