{"_id":"@inquirer/external-editor","_rev":"14-72e415b08790686bf2d13cb603c59390","name":"@inquirer/external-editor","dist-tags":{"latest":"3.0.3"},"versions":{"1.0.0":{"name":"@inquirer/external-editor","version":"1.0.0","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","enquirer","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","yeoman","yo","zsh","editor","external","user","visual"],"author":"Simon Boudrias <admin@simonboudrias.com>","license":"MIT","_id":"@inquirer/external-editor@1.0.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"danielchatfield","email":"chatfielddaniel@gmail.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","dist":{"shasum":"a4b53af494049093ebc3c5c73fa949258e013cec","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.0.tgz","fileCount":25,"integrity":"sha512-5v3YXc5ZMfL6OJqXPrX9csb4l7NlQA2doO1yynUjpUChT9hg4JcuBVP0RbsEJ/3SL/sxWEyFjT2W69ZhtoBWqg==","signatures":[{"sig":"MEUCIENbq/3ZRoReUsM5V8KO776OwAx7UfjG+8UE+pEdzliIAiEAyltd5N3TmmRQ/aeqZWb43hIFbIPfVnwWnDSbwXItsCQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29961},"main":"./dist/commonjs/index.js","tshy":{"exclude":["src/**/*.test.ts"],"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"scripts":{"tsc":"tshy","attw":"attw --pack"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/8.2.3/node@v24.5.0+arm64 (darwin)","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","directories":{},"sideEffects":false,"_nodeVersion":"24.5.0","dependencies":{"chardet":"^2.1.0","iconv-lite":"^0.6.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"^3.0.2","@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0","@arethetypeswrong/cli":"^0.18.2"},"peerDependencies":{"@types/node":">=18"},"_npmOperationalInternal":{"tmp":"tmp/external-editor_1.0.0_1754687745602_0.4845895739860471","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@inquirer/external-editor","version":"1.0.1","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","enquirer","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","yeoman","yo","zsh","editor","external","external-editor","user","visual"],"author":"Simon Boudrias <admin@simonboudrias.com>","license":"MIT","_id":"@inquirer/external-editor@1.0.1","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"danielchatfield","email":"chatfielddaniel@gmail.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","dist":{"shasum":"ab0a82c5719a963fb469021cde5cd2b74fea30f8","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.1.tgz","fileCount":25,"integrity":"sha512-Oau4yL24d2B5IL4ma4UpbQigkVhzPDXLoqy1ggK4gnHg/stmkffJE4oOXHXF3uz0UEpywG68KcyXsyYpA1Re/Q==","signatures":[{"sig":"MEUCIAQskea2F8TeZ8zzA+p/YZp4XUpjS6ft9aAGFKFc61ePAiEAgzCu1nlsHpeQ5b0KCh96Kc2i80eTu/8PrwCC0ReNozo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30618},"main":"./dist/commonjs/index.js","tshy":{"exclude":["src/**/*.test.ts"],"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"scripts":{"tsc":"tshy","attw":"attw --pack"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/8.2.3/node@v24.5.0+arm64 (darwin)","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","directories":{},"sideEffects":false,"_nodeVersion":"24.5.0","dependencies":{"chardet":"^2.1.0","iconv-lite":"^0.6.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"^3.0.2","@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0","@arethetypeswrong/cli":"^0.18.2"},"peerDependencies":{"@types/node":">=18"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/external-editor_1.0.1_1755109150199_0.9393139594649518","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@inquirer/external-editor","version":"1.0.2","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","enquirer","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","yeoman","yo","zsh","editor","external","external-editor","user","visual"],"author":"Simon Boudrias <admin@simonboudrias.com>","license":"MIT","_id":"@inquirer/external-editor@1.0.2","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"danielchatfield","email":"chatfielddaniel@gmail.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","dist":{"shasum":"dc16e7064c46c53be09918db639ff780718c071a","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.2.tgz","fileCount":25,"integrity":"sha512-yy9cOoBnx58TlsPrIxauKIFQTiyH+0MK4e97y4sV9ERbI+zDxw7i2hxHLCIEGIE/8PPvDxGhgzIOTSOWcs6/MQ==","signatures":[{"sig":"MEUCIAdhN+7mizYnHGP7MLhQUpzX1P3qch4OfU3vJlDNf0F1AiEA1NRbxwIHPxpM/3WLjzD7Y5m/yhzu2ZZ8VPOnOa8e9tE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30618},"main":"./dist/commonjs/index.js","tshy":{"exclude":["src/**/*.test.ts"],"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"scripts":{"tsc":"tshy","attw":"attw --pack"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/8.2.3/node@v24.5.0+arm64 (darwin)","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","directories":{},"sideEffects":false,"_nodeVersion":"24.5.0","dependencies":{"chardet":"^2.1.0","iconv-lite":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"^3.0.2","@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0","@arethetypeswrong/cli":"^0.18.2"},"peerDependencies":{"@types/node":">=18"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/external-editor_1.0.2_1757858931960_0.6080166745217723","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@inquirer/external-editor","version":"1.0.3","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","enquirer","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","yeoman","yo","zsh","editor","external","external-editor","user","visual"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"@inquirer/external-editor@1.0.3","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","bugs":{"url":"https://github.com/SBoudrias/Inquirer.js/issues"},"dist":{"shasum":"c23988291ee676290fdab3fd306e64010a6d13b8","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz","fileCount":25,"integrity":"sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==","signatures":[{"sig":"MEUCIAvgLw7IJIQ2+ZOaPTpirJIh/qhm1UIw+mIlKAKDUBz/AiEAvCmKVc232LMCi7k/rGI6XA3y1zq339wRP6CPkc3rxlM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30209},"main":"./dist/commonjs/index.js","tshy":{"exclude":["src/**/*.test.ts"],"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"6881993e517e76fa891b72e1f5086fd11f7676ac","scripts":{"tsc":"tshy","attw":"attw --pack"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/9.0.0/node@v22.20.0+arm64 (darwin)","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","directories":{},"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"chardet":"^2.1.1","iconv-lite":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"^3.0.3","@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0","@arethetypeswrong/cli":"^0.18.2"},"peerDependencies":{"@types/node":">=18"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/external-editor_1.0.3_1762631133453_0.12375645031419436","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@inquirer/external-editor","version":"2.0.0","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","enquirer","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","yeoman","yo","zsh","editor","external","external-editor","user","visual"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"@inquirer/external-editor@2.0.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","bugs":{"url":"https://github.com/SBoudrias/Inquirer.js/issues"},"dist":{"shasum":"c74db37849368d6f2f76e65526b8522c3ac4074b","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-2.0.0.tgz","fileCount":35,"integrity":"sha512-8csFvWsUakf9zH0EzeAgnIP2G/5/ENAaFR/wS0UowNFuI5/C934OMSMKZvoPoZgGWgB0MnUttWkS0AJL7HAa4w==","signatures":[{"sig":"MEUCIGNdnDXCmBtFqyRdPKNqnD4wDGRy1XMuzlSjr/Defj/AAiEAyCMEvro/4rdWdp0s2i2WK9BZ9fJ/71+iTujDWz73fL4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39787},"type":"module","engines":{"node":">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0"},"exports":{".":"./src/index.ts","./package.json":"./package.json"},"gitHead":"676685d33374a30340c1b9f0831c7eae2b2357dd","scripts":{"tsc":"tsc"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/9.0.1/node@v22.20.0+arm64 (darwin)","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","directories":{},"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"chardet":"^2.1.1","iconv-lite":"^0.7.0"},"publishConfig":{"access":"public","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"}},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0"},"peerDependencies":{"@types/node":">=18"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/external-editor_2.0.0_1763332084816_0.3574367280040509","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@inquirer/external-editor","version":"2.0.1","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","enquirer","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","yeoman","yo","zsh","editor","external","external-editor","user","visual"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"@inquirer/external-editor@2.0.1","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","bugs":{"url":"https://github.com/SBoudrias/Inquirer.js/issues"},"dist":{"shasum":"14fd7f74ba38f5b620a7725aa8dc406453cf7a97","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-2.0.1.tgz","fileCount":13,"integrity":"sha512-BPYWJXCAK9w6R+pb2s3WyxUz9ts9SP/LDOUwA9fu7LeuyYgojz83i0DSRwezu736BgMwz14G63Xwj70hSzHohQ==","signatures":[{"sig":"MEUCIQD4+/27RILgenHgfc+DjualxpIeR04yHLh8ENb5Rl7WhwIgDAKhaJNWCo4W4JjgcAm3RnNsCNRP3xAV4UWwGHE2oOQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17860},"type":"module","engines":{"node":">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0"},"exports":{".":"./src/index.ts","./package.json":"./package.json"},"gitHead":"cce79ce3b9bbdfb4dbb798078cf3b94b9adc7d1b","scripts":{"tsc":"tsc"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/4.9.2/node@v22.20.0+arm64 (darwin)","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","directories":{},"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"chardet":"^2.1.1","iconv-lite":"^0.7.0"},"publishConfig":{"access":"public","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"}},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0"},"peerDependencies":{"@types/node":">=18"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/external-editor_2.0.1_1763344413607_0.40605722532493926","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@inquirer/external-editor","version":"2.0.2","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","enquirer","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","yeoman","yo","zsh","editor","external","external-editor","user","visual"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"@inquirer/external-editor@2.0.2","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","bugs":{"url":"https://github.com/SBoudrias/Inquirer.js/issues"},"dist":{"shasum":"62e51bf0b7e40fa6275f20dcec4deafb8c558c88","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-2.0.2.tgz","fileCount":13,"integrity":"sha512-X/fMXK7vXomRWEex1j8mnj7s1mpnTeP4CO/h2gysJhHLT2WjBnLv4ZQEGpm/kcYI8QfLZ2fgW+9kTKD+jeopLg==","signatures":[{"sig":"MEUCIQDK2XUMve5bNfZhI0GJ9bKdaHO7oCXOLt7uN+zq/PrGrwIgKPNQPQvcZoTr4U2s+A2qcG+0Jnkq7rGq5z7DaYsrAHY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17921},"type":"module","engines":{"node":">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0"},"exports":{".":"./src/index.ts","./package.json":"./package.json"},"gitHead":"9c724296daad3d740b09173f9aae035dc62cb106","scripts":{"tsc":"tsc"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/4.9.4/node@v22.20.0+arm64 (darwin)","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","directories":{},"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"chardet":"^2.1.1","iconv-lite":"^0.7.0"},"publishConfig":{"main":"./dist/index.js","types":"./dist/index.d.ts","access":"public","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"}},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0"},"peerDependencies":{"@types/node":">=18"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/external-editor_2.0.2_1764708574338_0.8347396883802349","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@inquirer/external-editor","version":"2.0.3","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","editor","enquirer","external","external-editor","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","user","visual","yeoman","yo","zsh"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"@inquirer/external-editor@2.0.3","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","bugs":{"url":"https://github.com/SBoudrias/Inquirer.js/issues"},"dist":{"shasum":"c9e84d8d6040968bee33232683b05642001a4731","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-2.0.3.tgz","fileCount":13,"integrity":"sha512-LgyI7Agbda74/cL5MvA88iDpvdXI2KuMBCGRkbCl2Dg1vzHeOgs+s0SDcXV7b+WZJrv2+ERpWSM65Fpi9VfY3w==","signatures":[{"sig":"MEUCIQDz+NFNOcDNZYCLPx1JT2dADzunWAcJ0l3bgE2F2sfWKgIgb/Ao6KtD155ElO3zgKsMl8CjTiLnwckeAtZzRlRvwq4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17921},"type":"module","engines":{"node":">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0"},"exports":{".":"./src/index.ts","./package.json":"./package.json"},"gitHead":"99d00a9adc53be8b7edf5926b2ec4ba0b792f68f","scripts":{"tsc":"tsc"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/4.10.3/node@v25.2.1+arm64 (darwin)","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","directories":{},"sideEffects":false,"_nodeVersion":"25.2.1","dependencies":{"chardet":"^2.1.1","iconv-lite":"^0.7.2"},"publishConfig":{"main":"./dist/index.js","types":"./dist/index.d.ts","access":"public","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"}},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0"},"peerDependencies":{"@types/node":">=18"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/external-editor_2.0.3_1768156449961_0.5887053206814199","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"@inquirer/external-editor","version":"2.0.4","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","editor","enquirer","external","external-editor","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","user","visual","yeoman","yo","zsh"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"@inquirer/external-editor@2.0.4","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","bugs":{"url":"https://github.com/SBoudrias/Inquirer.js/issues"},"dist":{"shasum":"1178821c52014bf70bbadd664ee6fedc37a40b5c","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-2.0.4.tgz","fileCount":13,"integrity":"sha512-Prenuv9C1PHj2Itx0BcAOVBTonz02Hc2Nd2DbU67PdGUaqn0nPCnV34oDyyoaZHnmfRxkpuhh/u51ThkrO+RdA==","signatures":[{"sig":"MEQCIENrwo3yAFui5ZHQXRUkRd4f7Pm63AcE5Or8T+0sRmi7AiBJREi1I7CtCX8IRtIuZh8JAxs1g0EogEAtM1FZDFCFSA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17921},"type":"module","engines":{"node":">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0"},"exports":{".":"./src/index.ts","./package.json":"./package.json"},"gitHead":"b218fcc4afe888a58957aa78c9a032f9bd2d60cb","scripts":{"tsc":"tsc"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/4.11.4/node@v24.14.0+arm64 (darwin)","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"chardet":"^2.1.1","iconv-lite":"^0.7.2"},"publishConfig":{"main":"./dist/index.js","types":"./dist/index.d.ts","access":"public","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"}},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0"},"peerDependencies":{"@types/node":">=18"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/external-editor_2.0.4_1773607720133_0.20060184747158294","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@inquirer/external-editor","version":"3.0.0","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","editor","enquirer","external","external-editor","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","user","visual","yeoman","yo","zsh"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"@inquirer/external-editor@3.0.0","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","bugs":{"url":"https://github.com/SBoudrias/Inquirer.js/issues"},"dist":{"shasum":"915e7d3f808e3d2213c4fe0f525dcd7ea890e78a","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-3.0.0.tgz","fileCount":17,"integrity":"sha512-lDSwMgg+M5rq6JKBYaJwSX6T9e/HK2qqZ1oxmOwn4AQoJE5D+7TumsxLGC02PWS//rkIVqbZv3XA3ejsc9FYvg==","signatures":[{"sig":"MEUCIQDA7j8UQiL3TgC3yBG/ayBOObkpSXElaUJwbqg9u1xM1AIgJZ5n2EYr94iopZQhCmJkya76DTVH942s8eCreIxUI5I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19079},"type":"module","engines":{"node":">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0"},"exports":{".":"./src/index.ts","./package.json":"./package.json"},"gitHead":"e68fe01d65359e083581c48c4a18cd8f97d88842","scripts":{"tsc":"tsc"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/5.0.0/node@v24.14.0+arm64 (darwin)","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"chardet":"^2.1.1","iconv-lite":"^0.7.2"},"publishConfig":{"main":"./dist/index.js","types":"./dist/index.d.ts","access":"public","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"}},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.2","@types/node":"^25.5.2","@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0"},"peerDependencies":{"@types/node":">=18"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/external-editor_3.0.0_1775504081583_0.6625819838887994","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"@inquirer/external-editor","version":"3.0.1","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","editor","enquirer","external","external-editor","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","user","visual","yeoman","yo","zsh"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"@inquirer/external-editor@3.0.1","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","bugs":{"url":"https://github.com/SBoudrias/Inquirer.js/issues"},"dist":{"shasum":"764d43a509734ce81d083a553a2b79ec3dc8d984","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-3.0.1.tgz","fileCount":17,"integrity":"sha512-tam+Gwjsxg2sx3iUVPkAnhKT/yrk2rd2NAa7XJU/J8OYpU0ifXsnp12xlvzp/DCpWBXVv+vLQsqnpAWwUcWD5Q==","signatures":[{"sig":"MEYCIQD08DxMUoarGxbv04opjkQGpqi43Z7+/xIJHN8RZiCXbQIhALKQL1ZGQMR3A7DxMEmYEZuneiKenzEoX9uggJ3wIx4J","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19079},"type":"module","engines":{"node":">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0"},"exports":{".":"./src/index.ts","./package.json":"./package.json"},"gitHead":"5ca6d1101d5d3f8fb066cd5b389bccfdafbbe0c0","scripts":{"tsc":"tsc"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/5.2.1/node@v26.2.0+arm64 (darwin)","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","directories":{},"sideEffects":false,"_nodeVersion":"26.2.0","dependencies":{"chardet":"^2.1.1","iconv-lite":"^0.7.2"},"publishConfig":{"main":"./dist/index.js","types":"./dist/index.d.ts","access":"public","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"}},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.2","@types/node":"^25.5.2","@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0"},"peerDependencies":{"@types/node":">=18"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/external-editor_3.0.1_1779738453167_0.530536934309912","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"@inquirer/external-editor","version":"3.0.2","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","editor","enquirer","external","external-editor","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","user","visual","yeoman","yo","zsh"],"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","_id":"@inquirer/external-editor@3.0.2","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","bugs":{"url":"https://github.com/SBoudrias/Inquirer.js/issues"},"dist":{"shasum":"f072164f073a60cfebeef21a7b763b39793b9c56","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-3.0.2.tgz","fileCount":17,"integrity":"sha512-1X+KN2PinUcy/aS3f3OBSKJaWk+jBikMry4Qblj5ysqN4T+8BeA1rNJdTSOlQ2iOmvKg7ZsR4tDQvl1p0PLgKg==","signatures":[{"sig":"MEQCIEfa6Mv5voJI+SoHYxDHnAzRjbxKnJ1SzAIEsMAnx4zFAiBzW6vdEJ/1WrPBjNh8jP86w2tZrdtYO7HZmS/5+AmUrA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19068},"type":"module","engines":{"node":">=23.5.0 || ^22.13.0 || ^20.17.0"},"exports":{".":"./src/index.ts","./package.json":"./package.json"},"gitHead":"b43359d803733b1a7c4638addcc270987fb894c3","scripts":{"tsc":"tsc"},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"repository":{"url":"git+https://github.com/SBoudrias/Inquirer.js.git","type":"git"},"_npmVersion":"lerna/5.2.2/node@v26.2.0+arm64 (darwin)","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","directories":{},"sideEffects":false,"_nodeVersion":"26.2.0","dependencies":{"chardet":"^2.1.1","iconv-lite":"^0.7.2"},"publishConfig":{"main":"./dist/index.js","types":"./dist/index.d.ts","access":"public","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"}},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.2","@types/node":"^25.5.2","@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0"},"peerDependencies":{"@types/node":">=18"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/external-editor_3.0.2_1780091793856_0.8044636932649913","host":"s3://npm-registry-packages-npm-production"}},"3.0.3":{"name":"@inquirer/external-editor","version":"3.0.3","description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","editor","enquirer","external","external-editor","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","user","visual","yeoman","yo","zsh"],"homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","license":"MIT","author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"repository":{"type":"git","url":"git+https://github.com/SBoudrias/Inquirer.js.git"},"type":"module","sideEffects":false,"exports":{".":"./src/index.ts","./package.json":"./package.json"},"publishConfig":{"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"access":"public"},"scripts":{"tsc":"tsc"},"dependencies":{"chardet":"^2.1.1","iconv-lite":"^0.7.2"},"devDependencies":{"@repo/tsconfig":"workspace:*","@types/chardet":"^1.0.0","@types/node":"^25.5.2","typescript":"^6.0.2"},"peerDependencies":{"@types/node":">=18"},"peerDependenciesMeta":{"@types/node":{"optional":true}},"engines":{"node":">=23.5.0 || ^22.13.0 || ^20.17.0"},"gitHead":"bfd8710229e3d3c9784bef3bbfbd84c7bd09bb9e","_id":"@inquirer/external-editor@3.0.3","bugs":{"url":"https://github.com/SBoudrias/Inquirer.js/issues"},"_nodeVersion":"26.2.0","_npmVersion":"lerna/5.2.2/node@v26.2.0+arm64 (darwin)","dist":{"integrity":"sha512-6thf5I8q7lZwzGLAxPaaGEREEkZ3nyePPDQ1oyobblxmEE8mqTLguScP7pDjUTAibiyb4hfXl+qjUEJ+di/aNA==","shasum":"d79e772542cf8d340642e9dabd3a1ea7f5a30104","tarball":"https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-3.0.3.tgz","fileCount":17,"unpackedSize":19468,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICbFZ/T9RF31FT6PY41bUsFwfRA8KEtFJG26mY5RHYejAiARzdqurExTq3xQMKImbFgK/5zm7Qitdw3SoQQr0v0eag=="}]},"_npmUser":{"name":"sboudrias","email":"admin@simonboudrias.com"},"directories":{},"maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/external-editor_3.0.3_1780249355080_0.5531198274599929"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-08T21:15:45.430Z","modified":"2026-05-31T17:42:36.654Z","1.0.0":"2025-08-08T21:15:45.842Z","1.0.1":"2025-08-13T18:19:10.403Z","1.0.2":"2025-09-14T14:08:52.142Z","1.0.3":"2025-11-08T19:45:33.644Z","2.0.0":"2025-11-16T22:28:04.990Z","2.0.1":"2025-11-17T01:53:33.788Z","2.0.2":"2025-12-02T20:49:34.519Z","2.0.3":"2026-01-11T18:34:10.116Z","2.0.4":"2026-03-15T20:48:40.282Z","3.0.0":"2026-04-06T19:34:41.740Z","3.0.1":"2026-05-25T19:47:33.309Z","3.0.2":"2026-05-29T21:56:34.000Z","3.0.3":"2026-05-31T17:42:35.223Z"},"bugs":{"url":"https://github.com/SBoudrias/Inquirer.js/issues"},"author":{"name":"Simon Boudrias","email":"admin@simonboudrias.com"},"license":"MIT","homepage":"https://github.com/SBoudrias/Inquirer.js/blob/main/packages/external-editor/README.md","keywords":["answer","answers","ask","base","cli","command","command-line","confirm","editor","enquirer","external","external-editor","generate","generator","hyper","input","inquire","inquirer","interface","iterm","javascript","menu","node","nodejs","prompt","promptly","prompts","question","readline","scaffold","scaffolder","scaffolding","stdin","stdout","terminal","tty","ui","user","visual","yeoman","yo","zsh"],"repository":{"type":"git","url":"git+https://github.com/SBoudrias/Inquirer.js.git"},"description":"Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT","maintainers":[{"name":"sboudrias","email":"admin@simonboudrias.com"},{"name":"mischah","email":"mail@michael-kuehnel.de"}],"readme":"# `@inquirer/external-editor`\n\nA Node.js module to edit a string with the user's preferred text editor using $VISUAL or $EDITOR.\n\n> [!NOTE]\n> This package is a replacement for the unmaintained `external-editor`. It includes security fixes.\n\n# Installation\n\n<table>\n<tr>\n  <th>npm</th>\n  <th>yarn</th>\n</tr>\n<tr>\n<td>\n\n```sh\nnpm install @inquirer/external-editor\n```\n\n</td>\n<td>\n\n```sh\nyarn add @inquirer/external-editor\n```\n\n</td>\n</tr>\n</table>\n\n## Usage\n\nA simple example using the `edit` function\n\n```ts\nimport { edit } from '@inquirer/external-editor';\n\nconst data = edit('\\n\\n# Please write your text above');\nconsole.log(data);\n```\n\nExample relying on the class construct\n\n```ts\nimport {\n  ExternalEditor,\n  CreateFileError,\n  ReadFileError,\n  RemoveFileError,\n  LaunchEditorError,\n} from '@inquirer/external-editor';\n\ntry {\n  const editor = new ExternalEditor();\n  const text = editor.run(); // the text is also available in editor.text\n\n  if (editor.lastExitStatus !== 0) {\n    console.log('The editor exited with a non-zero code');\n  }\n\n  // Do things with the text\n  editor.cleanup();\n} catch (err) {\n  if (err instanceof CreateFileError) {\n    console.log('Failed to create the temporary file');\n  } else if (err instanceof ReadFileError) {\n    console.log('Failed to read the temporary file');\n  } else if (err instanceof LaunchEditorError) {\n    console.log('Failed to launch your editor');\n  } else if (err instanceof RemoveFileError) {\n    console.log('Failed to remove the temporary file');\n  } else {\n    throw err;\n  }\n}\n```\n\n#### API\n\n**Convenience Functions**\n\n- `edit(text, config)`\n  - `text` (string) _Optional_ Defaults to empty string\n  - `config` (Config) _Optional_ Options for temporary file creation\n  - **Returns** (string) The contents of the file\n  - Could throw `CreateFileError`, `ReadFileError`, or `LaunchEditorError`, or `RemoveFileError`\n- `editAsync(text, callback, config)`\n  - `text` (string) _Optional_ Defaults to empty string\n  - `callback` (function (error?, text?))\n    - `error` could be of type `CreateFileError`, `ReadFileError`, `LaunchEditorError`, or `RemoveFileError`\n    - `text` (string) The contents of the file\n  - `config` (Config) _Optional_ Options for temporary file creation\n\n**Errors**\n\n- `CreateFileError` Error thrown if the temporary file could not be created.\n- `ReadFileError` Error thrown if the temporary file could not be read.\n- `RemoveFileError` Error thrown if the temporary file could not be removed during cleanup.\n- `LaunchEditorError` Error thrown if the editor could not be launched.\n\n**External Editor Public Methods**\n\n- `new ExternalEditor(text, config)`\n  - `text` (string) _Optional_ Defaults to empty string\n  - `config` (Config) _Optional_ Options for temporary file creation\n  - Could throw `CreateFileError`\n- `run()` Launches the editor.\n  - **Returns** (string) The contents of the file\n  - Could throw `LaunchEditorError` or `ReadFileError`\n- `runAsync(callback)` Launches the editor in an async way\n  - `callback` (function (error?, text?))\n    - `error` could be of type `ReadFileError` or `LaunchEditorError`\n    - `text` (string) The contents of the file\n- `cleanup()` Removes the temporary file.\n  - Could throw `RemoveFileError`\n\n**External Editor Public Properties**\n\n- `text` (string) _readonly_ The text in the temporary file.\n- `editor.bin` (string) The editor determined from the environment.\n- `editor.args` (array) Default arguments for the bin\n- `tempFile` (string) Path to temporary file. Can be changed, but be careful as the temporary file probably already\n  exists and would need be removed manually.\n- `lastExitStatus` (number) The last exit code emitted from the editor.\n\n**Config Options**\n\n- `prefix` (string) _Optional_ A prefix for the file name.\n- `postfix` (string) _Optional_ A postfix for the file name. Useful if you want to provide an extension.\n- `mode` (number) _Optional_ Which mode to create the file with. e.g. 644\n- `dir` (string) _Optional_ Which path to store the file.\n\n## Why Synchronous?\n\nEverything is synchronous to make sure the editor has complete control of the stdin and stdout. Testing has shown\nasync launching of the editor can lead to issues when using readline or other packages which try to read from stdin or\nwrite to stdout. Seeing as this will be used in an interactive CLI environment, I made the decision to force the package\nto be synchronous. If you know a reliable way to force all stdin and stdout to be limited only to the child_process,\nplease submit a PR.\n\nIf async is really needed, you can use `editAsync` or `runAsync`. If you are using readline or have anything else\nlistening to the stdin or you write to stdout, you will most likely have problem, so make sure to remove any other\nlisteners on stdin, stdout, or stderr.\n\n## Demo\n\n[![asciicast](https://asciinema.org/a/a1qh9lypbe65mj0ivfuoslz2s.png)](https://asciinema.org/a/a1qh9lypbe65mj0ivfuoslz2s)\n\n# License\n\nCopyright (c) 2025 Simon Boudrias (twitter: [@vaxilart](https://twitter.com/Vaxilart))<br/>\nLicensed under the MIT license.\n","readmeFilename":"README.md"}