A nano-like command line editor. Really basic, but very lightweight. Can be used as a programmatically from JS.
The following features are missing, but I'd like to implement them in the future:
- copy to clipboard, paste from it
- ask for confirmation on
I won't implement these features:
- syntax highlighting
- mouse support
- plugin system
npm install tiny-cli-editor # to use it as a librarynpm install -g tiny-cli-editor # to use it from the shell
Ctrl + C to abort,
Ctrl + D to save the file.
To use tiny-cli-editor programmatically:
const editor =
If you have a question, found a bug or want to propose a feature, have a look at the issues page.