Re:Show HN: Tasklemon – A JavaScript Alternative to Bash Scr...
by Cykelero on Thursday September 05, 2019 @03:23PM
(#20889925)
I'm not sure what your point is; of course, you can write JS on top of Node that exposes its functionality with a nice API: that's exactly what Tasklemon is!
Did the intro maybe give you the impression that TL was built standalone, instead of on Node?
#!/usr/local/bin/tasklemon stdlib
where 'stdlib' in a tasklemon config dir has the preamble: So basically each 'feature' of Tasklemon is just a nice DSL for js/ts.And for handing async callbacks, run the contents of the script in an async function so you can await values anywhere rather than have to pass in callbacks.