░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
lon105.truehost.cloud
LOCATION:
/usr/lib/node_modules/npm/node_modules/editor
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: index.js
var spawn = require('child_process').spawn; module.exports = function (file, opts, cb) { if (typeof opts === 'function') { cb = opts; opts = {}; } if (!opts) opts = {}; var ed = /^win/.test(process.platform) ? 'notepad' : 'vim'; var editor = opts.editor || process.env.VISUAL || process.env.EDITOR || ed; var args = editor.split(/\s+/); var bin = args.shift(); var ps = spawn(bin, args.concat([ file ]), { stdio: 'inherit' }); ps.on('exit', function (code, sig) { if (typeof cb === 'function') cb(code, sig) }); };
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📁 example/
DIR
—
2025-02-17 05:47
📄 index.js
JS
595 B
2021-03-10 14:36
EDIT
📄 LICENSE
?
1.1 KB
2021-03-10 14:36
EDIT
📄 package.json
JSON
1.4 KB
2021-03-10 14:36
EDIT
📄 README.markdown
MARKDOWN
653 B
2021-03-10 14:36
EDIT