The task
I a task of creating the cli tool that would convert the plain .txt text to the html format. The task includes converting the first lint of text to the title and other paragraphs to html styled paragraphs.
Tech stack
I decided to go with the node.js and typescript for implementing this task. I considered the javascript too, but decided to do typescript, because I wanted to have some types and better intenseness :).
The process of initial version implementation
It took me about the 5 hours to write the first workable version of the this tool (spent most of the time trying to setup the typescript for the cli development π₯²)
Finding the partner
It was pretty difficult to find the partner to do the peer-review, but I think the reason for that is that I started to find them 3 hours before the deadline. Taimoor Dawami came in clutch and agreed to do the peer-review, even though he already had somebody he did it with too (such a nice guy). Interesting fact: the name Taimoor and my name Tymur are pretty muc same names, but just translated from different languages and the pronunciation is identical.
Issues
Taimoor find several issues and highlighted them for me, and these finding are very valuable. One of them was the fact that app made a run-time error if user doesn't provide any path to file/folder. I didn't fix them all yet, since I have some time till the due day which is on Sunday, but I am on my way.
What I learned
To be honest, the one thing which I definitely learned is how to make cli tools with typescript π. Additionally, I worked a little bit with markdowns, which I didn't do much before. (Spoiler: I did my readme.md with html, not sure if it is considered to be a bad practice or no, writing this most with markdown tho.
Github repo
Here is the link to the github repo: https://github.com/Myrfion/izyum
PS
The Izyum is the name of the wonderful city in the Kharkiv Region in Ukraine that was recently liberated. Slava Ukraini! πΊπ¦
PSS
Izyum also means raisin in Russian/Ukranian π
Top comments (0)