✏️ 正在编辑: README.markdown
路径:
/lib/node_modules/npm/node_modules/editor/README.markdown
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
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
💾 保存文件
← 返回文件管理器