3 ms·
I tried this a long time ago when I was in love with react. It felt difficult to wrap my head around the yoga layout engine. I'm glad others here in this thread
by xrd 3y ago
I tried this a long time ago when I was in love with react. It felt difficult to wrap my head around the yoga layout engine. I'm glad others here in this thread seem to like yoga, but I didn't. And, now I really dislike react for various reasons.
I would use this if I needed to write a command line app with nodejs:
https://github.com/chjj/blessed https://github.com/chjj/blessed
- lucideer 3y agoAlas https://github.com/chjj/blessed/issues/418#issuecomment-1533316110 https://github.com/chjj/blessed/issues/418#issuecomment-1533... I considered blessed for a recent project, but ended up just simplifying the approach & making do with Inquirer + Meow instead due to the maintenance status. Haven't found anything else equivalent to blessed, other than Ink.
- xrd 3y agoDoh. That's not good. Bummer. Can you link to those other projects you used? I'm not familiar. It would be awesome if you had a write-up
- tbeseda 3y agomeow for argument processing and other niceties https://github.com/sindresorhus/meow https://github.com/sindresorhus/meow inquirer for interactivity/input (select, text, boolean, etc) https://github.com/SBoudrias/Inquirer.js https://github.com/SBoudrias/Inquirer.js