Some npm
packaged scripts are written as frameworks that dynamically require
user node scripts, e.g. the gulp
CLI script require
s the user provided Gulpfile.js
(by default).
To write .js
using ES6 syntax is problematic; if the $PATH script for a framework x
looks like
#!/usr/bin/env node
var x = require('x');
...