Current Path: > > usr > lib > > > node_modules > > npm > node_modules > editor
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
example | Directory | - | - | |
LICENSE | File | 1137 bytes | March 10 2021 14:36:38. | |
README.markdown | File | 653 bytes | March 10 2021 14:36:38. | |
index.js | File | 595 bytes | March 10 2021 14:36:38. | |
package.json | File | 1410 bytes | March 10 2021 14:36:38. |
editor ====== Launch $EDITOR in your program. example ======= ``` js var editor = require('editor'); editor('beep.json', function (code, sig) { console.log('finished editing with code ' + code); }); ``` *** ``` $ node edit.js ```  ``` finished editing with code 0 ``` methods ======= ``` js var editor = require('editor') ``` editor(file, opts={}, cb) ------------------------- Launch the `$EDITOR` (or `opts.editor`) for `file`. When the editor exits, `cb(code, sig)` fires. install ======= With [npm](http://npmjs.org) do: ``` npm install editor ``` license ======= MIT
SILENT KILLER Tool