Show HN: Rails-like syntactic sugar for JavaScript
https://github.com/x-node-syntactic-sugar/x-duration
I came back to JS/TS after 4 years of developing on Ruby on rails, and I felt a bit frustrated by the lack of syntactic sugars in some domains (duration in this case), so here is a small lib to try and improve that.Hope it helps <3
There is also Typeswift, https://www.npmjs.com/package/typeswift