DEV Community

loading...

CLI editor in Typescript

Divyendu Singh
A young computer scientist from the top of India, the beautiful place called Jammu and Kashmir. I love making stuff, things that change the way the world operates, things that affect the space-time.
・1 min read

Wrote a small buffer based CLI editor in Typescript. Was a great experience to implement a small buffer, cursor class.

It even supports undo. Also, without any dependencies.

Feedback 🙌🙏

Code: https://github.com/divyenduz/chi-editor

Discussion (1)

Collapse
divyenduz profile image
Divyendu Singh Author

Updated to add line numbers, config file and some other features.