qm-util-edit-in-console
Edit .json data in console using terminal editor (promisfied).
Installation
$ npm i -S qm-util-edit-in-console
Usage
; // default options const options = fileName: ".tempToEditInVim.json" editor: "vim" dirPath: process removeTempFile: true ; { try const objToEdit = editMe: "terefere" ; const newObj = await ; console; catch error console; };
Credits
Based on substack/node-editor.
License
MIT © qaraluch