Package detail

edit-string

jdxcode35kWTFPL1.1.6

edit a string in $EDITOR

readme

edit-string

const edit = require('edit-string')

async function run () {
  // open 'foo' in $EDITOR
  let s = await edit('foo')
  console.dir(s)
}
run()