UNPKG

edit-string

Version:

edit a string in $EDITOR

14 lines (11 loc) 176 B
edit-string =========== ```js const edit = require('edit-string') async function run () { // open 'foo' in $EDITOR let s = await edit('foo') console.dir(s) } run() ```